How to access a joystick

How can you read a joystick or steering wheel position in OS X, since Inputsprockets no longer works? The closest thing I could find was some complicated code in the source for Apple’s port of the GLUT library, but I’m not sure if it works.
The new force feedback framework added in 10.2.3 does have a method for polling the input device for its current position.

You need to use the HID manager. There’s a lot of sample code on the Apple developer website. It’s not particularly easy

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.