Hi,
i recently bought a Ducky Shine mechanical keyboard and everything works fine exept one thing. The swapping of the ALT and AMIGA keys doesn't work. I tried both ways:
a) SYS:Prefs/Input -> checked the option to swap the keys (also tried it without checking the option)
b) Added UBoot variable keymap_swapaltamiga with value "on"
The key mapping of the ALT and AMIGA keys remains.
Any help?
Thanks
Swapping ALT and AMIGA keys doesn't work
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Swapping ALT and AMIGA keys doesn't work
Have you tried "keymap_swapaltamiga=off"? The newer machines default to "on", because they for some reason think everybody will buy those AmigaOne keyboards which need the swapping in order to work like a classical Amiga keyboard. So with other keyboards (pc types etc) you need to explicitly turn the swap off.
Best regards,
Niels
Best regards,
Niels
Re: Swapping ALT and AMIGA keys doesn't work
No, haven't tried setting keymap_swapaltamiga to "off" before. I gave it a try but it doesn't work. Also in combination with the Options in SYS:Prefs/Input (tried on and off) it doesn't work.
Regards
Alex
Regards
Alex
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Swapping ALT and AMIGA keys doesn't work
You DID reboot after changing the NV setting, didn't you?
Type "nvgetvar" in a shell to get a proper list of the settings and check whether they have actually changed.
Type "nvgetvar" in a shell to get a proper list of the settings and check whether they have actually changed.
cheers
tony
tony
Re: Swapping ALT and AMIGA keys doesn't work
@tonyw
yes i performed a reboot and even tried it with a cold boot after setting the environment variable. On X5000 (currently?) you can set UBoot vars only within the UBoot Shell. There is no NVSetVar AmigaOS command like on other Amiga Platforms (SAM, ...).
Before i connected the mechanical Keyboard i had a common PC Keyboard connected to the AmigaONE X5000 with that keyboard ALT and AMIGA switching worked fine by enabling swap keys in SYS:Prefs/Input settings.
yes i performed a reboot and even tried it with a cold boot after setting the environment variable. On X5000 (currently?) you can set UBoot vars only within the UBoot Shell. There is no NVSetVar AmigaOS command like on other Amiga Platforms (SAM, ...).
Before i connected the mechanical Keyboard i had a common PC Keyboard connected to the AmigaONE X5000 with that keyboard ALT and AMIGA switching worked fine by enabling swap keys in SYS:Prefs/Input settings.
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Swapping ALT and AMIGA keys doesn't work
In that case, it must be the keyboard which is somehow "weird". Maybe the Alt/Win keys are not emitting the keycodes expected by the keymap, or maybe one or both keys are wired to some internal logic in the keyboard which performs "special magic" on Windows machines, but is not recognized correctly under other systems.
I believe you can examine the actual keycodes emitted from each key with the help of Deniil's Allkeys program.
I'm not familiar with the technical details about how the swap is really working, so my assumptions may be totally wrong, of course.
Best regards,
Niels
I believe you can examine the actual keycodes emitted from each key with the help of Deniil's Allkeys program.
I'm not familiar with the technical details about how the swap is really working, so my assumptions may be totally wrong, of course.
Best regards,
Niels
Re: Swapping ALT and AMIGA keys doesn't work
@nbache
Yes you're right. This "Ducky Shine 6" Keyboard must be somehow special... Because i configured now the Allkeys Utility and it still doesn't work
Another interesting thing is, above the numeric keypad (so in the upper right corner of the keyboard) there are 4 "Multimedia" Keys, when i hit them Allkeys reports nothing. But this information only as a side note. Any idea about my main problem with the ALT and AMIGA key swapping?
Thank you very much for your help
Kind regards
Alex
Yes you're right. This "Ducky Shine 6" Keyboard must be somehow special... Because i configured now the Allkeys Utility and it still doesn't work
Another interesting thing is, above the numeric keypad (so in the upper right corner of the keyboard) there are 4 "Multimedia" Keys, when i hit them Allkeys reports nothing. But this information only as a side note. Any idea about my main problem with the ALT and AMIGA key swapping?
Thank you very much for your help
Kind regards
Alex
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: Swapping ALT and AMIGA keys doesn't work
So if you suspect there is something "special" about this particular keyboard, have you tried a more generic one?
- TSK
- Beta Tester
- Posts: 225
- Joined: Mon Dec 20, 2010 1:15 pm
- Location: Home land of Santa C., sauna, sisu and salmiakki
Re: Swapping ALT and AMIGA keys doesn't work
@IamSONIC
I have the same problem on A1-SE and a PS2 keyboard. Key swapping works with old keymap.libary.kmod v53.7 and a UBoot variable but not with the input Prefs setting and keymap.libary.kmod v53.9. (The key swap checkbox is disabled in input prefs with the v53.7 library.) If I remember the UBoot variable support was removed in newer versions of the keymap.libary.kmod so it won't work. Do you have access to the old library v53.7 ? I have made a bug report long time ago. I don't have this problem on X1000 and a Ducky Shine 3 USB keyboard. It's interesting that the problem exists with some keyboards only. I can't remember if I've been using the same Keytronic Wings PS2 keyboard all the time with my SE or if I swapped keyboards around the time AOS and the keymap.library were updated.
Do you have multiple keyboards you could test ?
I have reset broken on the SE and PS2 is not hot swappable and I don't want to power on and off the machine too frequently. It will take time for me to make any tests. I hope you could make some more testing !
I have the same problem on A1-SE and a PS2 keyboard. Key swapping works with old keymap.libary.kmod v53.7 and a UBoot variable but not with the input Prefs setting and keymap.libary.kmod v53.9. (The key swap checkbox is disabled in input prefs with the v53.7 library.) If I remember the UBoot variable support was removed in newer versions of the keymap.libary.kmod so it won't work. Do you have access to the old library v53.7 ? I have made a bug report long time ago. I don't have this problem on X1000 and a Ducky Shine 3 USB keyboard. It's interesting that the problem exists with some keyboards only. I can't remember if I've been using the same Keytronic Wings PS2 keyboard all the time with my SE or if I swapped keyboards around the time AOS and the keymap.library were updated.
Do you have multiple keyboards you could test ?
I have reset broken on the SE and PS2 is not hot swappable and I don't want to power on and off the machine too frequently. It will take time for me to make any tests. I hope you could make some more testing !
Keep the party going !
Re: Swapping ALT and AMIGA keys doesn't work
Yes! As i wrote this problem only exists with the new Keyboard. With my old one i don't experience this kind of problem.broadblues wrote:So if you suspect there is something "special" about this particular keyboard, have you tried a more generic one?