17 November 2021, 06:18 | #1 |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Is possible to re-assign amiga keycodes to support different keyboards?
I am thinking about how the Amiga 1200 keyboard is actually working: the signal is coming from the keyboard chip, and the IC get that signal and knows that the key pressed is for example A, because it receive the hexadecimal code from the keyboard chip.
But what if I want to change that "table" that the Amiga use; so if I send a different hex code I can assign it to a different key? Would that be possible ? You may ask why you want to do that... And the question is totally legit. I want to use a keyboard that is not made for the Amiga. I can use a keyboard adapter of course, but those are responding to hex values sent by PS2 or USB keyboards. What if I want to use home as Amiga key, or Pause as Help button? I can't do that because the USB or PS2 adapter is not coded to do that; and to my knowledge, no adapter allow you to modify what you get from the PC keyboard; they just assume that what is on the Amiga keyboard match 1:1 with the PC keyboard, and for Del and Home they pick 2 keys and call the day. I would like instead to be able to control which keys from the PS2 or USB keyboard I trigger on the amiga, and this is why I started to look at how to achieve this on the Amiga itself. I assume that there is something on the ROM that tell the Amiga how to recognize keys, so there must be a way to override that and customize the association right? Even if it works only in Workbench that would be OK to be honest, but ideally I wish I could make this change to be booted when the Amiga boot up |
17 November 2021, 08:23 | #2 | |
Banned
Join Date: Oct 2021
Location: SA
Posts: 283
|
Quote:
around 2001-2002 I created a driver for spanish keyboards for winuae using such proggy |
|
17 November 2021, 09:15 | #3 | |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Quote:
Thanks, isn't a keymap just re-assigning the same input coming from the keyboard, to a different character in a different set? For example, the right CTRL of a windows keyboard has keycode 163, while the right Amiga key has hex 67; If I want to re-assign this key on the windows keyboard, I need to tell Workbench/Intuition that the key associated to 67 should be triggered when the code 163 is registered. Can you do that with a keymap? Basically you need to tell the Amiga to not use a specific code but another one |
|
17 November 2021, 09:31 | #4 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
|
The qualifiers cannot be remapped with a keymap, only the printable keys.. You would need to do this with an external adapter.
|
17 November 2021, 09:42 | #5 | |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Quote:
I see, so there is no way to change the assignments via software. Considering that no adapter I am aware of, is able to remap Amiga keys; how would I achieve the switch of the functionality of the right CTRL key to be the right Amiga key? In an emulator I can do that easily but doing it on a real Amiga has been quite an issue (my keyboard does not have 2 WIN keys, so I am lacking the right Amiga key at this point) |
|
17 November 2021, 14:23 | #6 |
WinUAE 4000/40, V4SA
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
You should be able to use the Apps/Context key as the right Amiga key in WinUAE. (Which leads in my case to having my right Amiga key to the immediate left of my left Amiga key due to the physical layout of my keyboard, the current Microsoft ergonomic keyboard.)
|
17 November 2021, 18:52 | #7 | |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Quote:
Yes, that I know, but I am trying to do the same on a real Amiga. The other alternative is to go hunting for an old keyboard with 2 WIN keys... which are basically abandoned at this point because all new keyboard seems to have the FN and menu keys on the right as standard. |
|
18 November 2021, 01:31 | #8 |
Registered User
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
|
|
18 November 2021, 03:33 | #9 | |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Quote:
Thanks; is that able to take a USB or PS2 keyboard input and allow to change the keycode sent? I thought the Lyra is only usable with original ribbon keyboards and does not support remapping |
|
18 November 2021, 05:48 | #10 |
Registered User
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
|
models, 1 for wedge, 1 for big box. There is a programming tool for it on the aminet to swap keys around "lyra3 tool".
Chris |
20 November 2021, 16:00 | #11 | |
Hardware Designer
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
|
Quote:
|
|
21 November 2021, 20:12 | #12 | |
Registered User
Join Date: Jul 2015
Location: usa
Posts: 243
|
Quote:
I see; thanks for the info. So basically I need a "translator" in the middle, between the USB/PS2 keyboard and the Amiga. Every comment seems to point at details that would be solved with a Lyra device at this point. I thought that since the Amiga has to have a conversion table for codes coming in from the keyboard controller, it could be manipulated to send instead a different keycode, but so far nobody confirmed this so I guess it is not possible. |
|
22 November 2021, 08:19 | #13 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
|
The setmap/keymaps feature is this conversion table, but unfortunately it does not support remapping the qualifiers.
Otherwise you would write or find an input handler which sits on the input chain with the highest priority and does the translation before any other input handler finds it. This will work when the OS is running and when using 100% os friendly software. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga keycaps for mechanical keyboards? | guybrush | Hardware mods | 4 | 20 August 2021 07:14 |
Help support crowdfund for "Retro Computer inspired USB PC Keyboards & Mice" | simulant | Amiga scene | 54 | 10 July 2020 12:00 |
Dreaming about mechanical Amiga keyboards | arnljot | Hardware mods | 10 | 19 January 2020 20:58 |
Amiga (2000) Keyboards Drilldown | intric8 | Amiga scene | 13 | 20 September 2019 20:18 |
FA: Two Amiga 4000 Keyboards | nlandas | MarketPlace | 0 | 27 July 2019 01:53 |
|
|