Win32 has the winmm library, which allows joystick events to be captured in the regular event loop (alongside the general window events, keyboard events, and mouse events).
Is there a similar setup in Xlib? Is my only choice to do raw input?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sounds like the answer is no (until someone smarter than me comes along and corrects me). I need to do raw input. I have to poll at a reasonable interval and convert deltas into my own events.