G
G
Groosha2014-11-10 23:53:55
Android
Groosha, 2014-11-10 23:53:55

How to make Android work as a USB HID device?

Hello.
I have a difficult task ahead of me: get the Android device to be recognized in the system as a HID device and send keystrokes.
All this is done for educational purposes (term paper), so I do not pursue any harmful goals.
For the fourth day I have been trying to find at least some information on this topic, but in vain. There are several contenders:
1) HID API . They have a mention of Android, but no more.
2) Here is this repository. Already closer, but it seems, too, not the same.
3) USB Host documentation directly from Googlers.
I feel like I'm walking around the problem, but not exactly. Maybe some of you have experience writing similar programs. If yes, please respond, I will be glad of any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lopatoid, 2014-11-20
@Groosha

Link 2 is what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question