Firstly, yes, I know about this issue , but I am looking for additional information about this. Actually, I have a pretty similar problem, as I need to be able to write input for mouse / keyboard / joystick, and I would also like to avoid SDL, if at all possible. I was more or less wondering if anyone knows where I can get decent primers for handling input from devices on Linux, perhaps even some tutorials. SDL is great for cross-platform input processing, but I'm not going to use anything else from the SDL, so I would like to completely eliminate it. Suggestions, comments and help are welcome. Thanks!
Edit for clarity:
The goal is to capture mouse movement, pressing / turning off the keyboard, mouse clicks and possibly controlling the joystick for the game.
source
share