USB remote control
Hello everyone,
I have a remote control that looks like a USB keyboard to the system. When I press buttons on the remote, key presses appear in X and the VTs. I would like to change my configuration so that events from the remote don't turn into key presses and become available only in /dev/input/eventN (where I will read them with a custom application).
I'm running FC6. Any help or pointers on how to accomplish this would be much appreciated.
Thank you,
Roger
Quoted 1 line · Roger Dahl
Hello everyone,
Hi!
Quoted 8 lines
I have a remote control that looks like a USB keyboard to the system. When I press buttons on the remote, key presses appear in X and the VTs. I would like to change my configuration so that events from the remote don't turn into key presses and become available only in
/dev/input/eventN(where I will read them with a custom application).I'm running FC6. Any help or pointers on how to accomplish this would be much appreciated.
Your custom application can call EVIOCGRAB ioctl on the event device. Then the events from the device are only sent to this one application :)
Signature · 1 line
Anssi Hannula
Quoted 2 lines · Anssi Hannula
Your custom application can call EVIOCGRAB ioctl on the event device. Then the events from the device are only sent to this one application :)
It works! Man, that is awesome :) Exactly what I needed. Thank you!
Roger