I have an 8bitdo NES controller that I have hooked up to a Raspberry Pi and am using it to interact with some various demos I’m working on. I’m trying to figure out a good way to grab multiple keypresses with evdev while debouncing so that a single keypress doesn’t trigger twice. I could set a flag and check the
Tag: evdev
Does Python evdev library have an event specific grab or passthrough?
A python evdev device has a .grab() function that prevents other processes from getting input events on the device. Is there any way to limit this to specific events from a device? For my example, if I .grab() a pen input device that has pressure sensitivity and tilt and 2 click buttons on the side, how would I ‘grab’ ONLY