Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev remapping KEYBOARD_KEY for usbhid usb keyboard
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Wed Apr 03, 2024 4:12 pm    Post subject: udev remapping KEYBOARD_KEY for usbhid usb keyboard Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum