iOS USB HID programming

99封情书 提交于 2019-12-07 17:53:54

问题


I am trying to make some code regarding USB HID devices. I have found an article about Bluetooth programming which uses Game Kit Framework.

Now I'm looking for some tutorial or maybe some code to work on connecting HID device via USB. Where should I look? Is Game Kit the right way? Is it difficult to implement communication between iOS and HID device?


回答1:


You can use IOKit for USB, but it's a private framework on iOS - so it depends if you want to deploy to the App Store.

Here is the USB Intro for Mac, I'm not sure if it's the same on iOS - but just to get the idea.




回答2:


Actually I just found out that you can develop for external devices with MFi program. It's nicely described here. Also some technical info in Apple's documentation.

But I don't really know what that means... ?



来源:https://stackoverflow.com/questions/9373453/ios-usb-hid-programming

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!