I'm trying to interface with Joysticks in Objective-C, basically I want to 开发者_Python百科read out the analog position values. I'm new to objective-c, and even though I searched a lot, I didn't find a way to do this.
There seems to be a way using GLUT, but the solution should work even without a window open, and I also wasn't able to understand it.
Could you point me in the right direction? Short code examples would help a lot too.
Look for "HID devices" in the xcode documentation.
精彩评论