How to consume XEvent when using Xinput 2?

254 views Asked by At

I am looking at this example. I'm trying to write a program that will run in background and listen to all keyboard events. That program should be able to discard some of the keyboard input. In before mentioned example, key logger doesn't consume events. I want to do something similar to LowLevelKeyboardProc on Windows, but I don't seem to find my way around. Is it possible to do something like that using X11?

0

There are 0 answers