I'm a linux geek. In linux I can use the event interface to read queued spontaneous gamepad events and be pretty well guaranteed not to miss events as long as I read the queue frequently enough. Obviously I then subclass and implement virtuals as callbacks for when joystick events are received.
I've recently been asked to port a QT application from linux to mingw and to support "reliable" gamepad button button-press and button-release events. All I can find in the win32 API is polling of current gamepad status, which is really sloppy. Even with a high frequency reader I could miss button events, which is not acceptable.
Can anyone point me to a win32 API primer that describes true event reception of the gamepad input? Based on what I've read, it seems that in the windows world the only interface is polling based.
Appologies if this question considered outside of reasonable scope, but I'm not a windows programmer and cannot determine whether windows goes beyond simple polling, easily.