开发者

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

开发者 https://www.devze.com 2022-12-17 19:19 出处:网络
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 f

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

精彩评论

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