簡體   English   中英

Android模擬HID鍵盤

[英]Android simulating HID Keyboard

我希望將台式機服務器用作Android設備的鍵盤。

根據“ 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 OS上演示上述用例?

如何“反向通訊”,以便可以注冊虛擬HID設備?

我已經弄清楚了,最終將設備切換到附件模式並發送要使用的HID報告,然后您只需將帶有已注冊報​​告ID的HID消息發送到設備即可。

奇跡般有效

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM