iOS USB HID编程 [英] iOS USB HID programming

查看:429
本文介绍了iOS USB HID编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写有关USB HID设备的代码。我发现一篇有关的文章,该文章使用游戏工具包框架

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

现在我我正在寻找一些教程或一些代码来通过USB连接HID设备。我应该去哪里看? 游戏套件是否正确?在iOS和HID设备之间实现通信难吗?

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?

推荐答案

您可以使用 IOKit 用于USB,但它是iOS上的私有框架-因此取决于您是否要部署到App Store。

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.

这里是适用于Mac的USB Intro ,我不确定如果在iOS上也一样-只是想知道。

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

这篇关于iOS USB HID编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆