[LINUX] Ignore modifier from a certain device
#1
Hi all, I have a stubborn remote control that sends multiple keys as a HID for some of the buttons on the remote. The keys are for example represented by <ctrl+shift+p>, <ctrl+p>.

I have tried to modify the xmodmap to remove the ctrl modifier which makes it easier to map the keys. But when I use this method the ctrl modifier is removed from my regular keyboard aswell.

Is it possible to just ignore the modifier from one of the input devices? Can I add something to an .fdi file to ignore the ctrl modifier from a certain device.

All ideas are welcome, I have been struggeling with this remtoe for a while now.

Best regards
Tobias
Reply
#2
xmodmap -display :0 -e "clear control"
xmodmap -display :0 -e "clear shift"
xmodmap -display :0 -e "clear mod1"
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Ignore modifier from a certain device0