ManDay Apprentice
Joined: 22 Jan 2008 Posts: 247
|
Posted: Wed Apr 03, 2024 4:12 pm Post subject: udev remapping KEYBOARD_KEY for usbhid usb keyboard |
|
|
Hello, does anyone know how to remap keys on an (external) USB keyboard? I followed the Arch Wiki on how to remap keys, the information given here and various results on the internet but found that the ESC and CAPS key remain unswapped on the external keyboard, every time the respective KEYBOARD_KEY_ key-value-pairs appear to be present in udevadm. This includes all possible combinations of using rules-files and hwdb.
Following this post, I also tried `udevadm --deug test-builtin keyboard` on the event interface of the keyboards, and only for the USB keyboard I get the following error:
"event4: Failed to call EVIOCSKEYCODE with scan code 0x1, and key code 58: Invalid argument"
which is very close to the note given at the end of the Arch Wiki article, about setkeycodes not working for USB.
Thanks! |
|