Joystick events

aerojockey wrote on Monday, March 02, 2015:

Is it planned to have joystick input events in the future? I find it hard to believe GLFW doesn’t have a consistent input strategy for joysticks and keyboard/mouse; the library seems otherwise so well thought-out. I’m trying to transition a game over from SDL where I used events exclusively (never polled states at all). This is pretty much a deal-breaker as-is, but it’s still a possibility if joystick events are are planned.

elmindreda wrote on Sunday, March 08, 2015:

Event-based joystick input was planned for 3.0 but didn’t make it in. A callback for joystick connection/disconnection may appear in 3.x and I’m re-examining the full solution for 4.0.

That said, joystick data is one of the easier kinds to poll.