chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

Where can I find the exmaple for USB Host HID device? #99

Open yanbwang opened 2 years ago

yanbwang commented 2 years ago

Hi,

Where can I find the USB host exmaple for reading data from USB HID device?

I want to make soemthing with USB keyboard for input.

THanks,

Ziv

DOVE-PH commented 1 year ago

I have the same need,I want to get the gamepad input

chegewara commented 1 year ago

For sure you can find some examples on internet, not necessarily using this library. There is some espressif API which you could try to use with USB host: https://github.com/espressif/esp-idf/tree/master/components/esp_hid

yanbwang commented 1 year ago

I have the same need,I want to get the gamepad input

You can try https://github.com/touchgadget/esp32-usb-host-demos

This library works well with ESP32 S3. I have use it on my many works.

E.g: USB Keyboard/Mouse to Ble