我想让我的台式机器服务器作为Android设备的键盘。Android模拟HID键盘
按照“Android Open Accessory”协议,这应该是可能的:
AOA 2.0 allows the accessory to register one or more USB Human Interface Devices (HID)
with an Android device. This approach reverses the direction of communication for
typical USB HID devices like USB mice and keyboards. Normally, the HID device is a
peripheral connected to a USB host like a personal computer. But in the case of the
AOA protocol, the USB host acts as one or more input devices to a USB peripheral.
我宁愿避免执行AOA栈,是否有任何现有项目演示上面提到的用例在Windows操作系统?
如何“颠倒通信方向”,以便我可以注册虚拟HID设备?
你真的需要有一个假的HID设备,或者你只是需要一些东西,作为一个远程键盘?有很多项目以各种方式实现它:[开源示例](http://www.onyxbits.de/remotekeyboard) – user2802841 2014-10-26 15:54:31
这是指定用于实现自动化测试(模拟用户触摸和键盘事件) – NadavRub 2014-10-26 15:59:30
这似乎成为方向:http://source.android.com/accessories/aoa.html仍ACCESSORY_REGISTER_HID不断失败... – NadavRub 2014-10-26 17:26:13