I have a remote control IR USB receiver, but it acts just like a normal keyboard.
I'm reading the input from /dev/input/event3
to handle events. Because of this I need a way for the TTY console to ignore this "keyboard" device without disabling the USB device entirely.
So currently when I press buttons on the remote control it types characters into the TTY console, which is undesirable.
xinput
to disable input devices. – ctrl-alt-delor Nov 18 '18 at 16:03evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code. – meuh Nov 18 '18 at 16:06