开发者

How can I read out Joystick values in Objective-C under OS X Snow Leopard?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜