Page 1 of 1

USB HID for ESP32-S2

Posted: Fri Sep 11, 2020 1:13 pm
by osiris81
Hello,

there is an example for USB CDC for the ESP32-S2. For a new project, we need to implement USB HID (Generic, Device Mode).

I've seen an example for HID in the tinyusb github but I'm not able to get it working on the ESP32-S2. Will there be an example for USB HID for the ESP32-S2?

Thanks,
Rico

Re: USB HID for ESP32-S2

Posted: Sun Sep 13, 2020 8:08 pm
by chegewara
Here you have few example HID reports you can use just like in example:
https://github.com/hathach/tinyusb/blob ... #L116-L304

If you dont find report map that suits you then you can try to build your own or wait when espressif will finish common HID API for ble and USB.

Re: USB HID for ESP32-S2

Posted: Fri Feb 26, 2021 1:26 pm
by osiris81
Hello,

there is still no support for USB-HID in the esp-idf, will this ever be added?

Does anyone know a working example project for USB-HID for esp-idf (not arduino)? I tried to just compile an example from the tinyusb component itself, but this does not work...

Thanks for any help!

Re: USB HID for ESP32-S2

Posted: Mon Nov 22, 2021 8:42 am
by hhuysqt
Hi, the USB HID and MSC components for ESP-IDF can be found at https://github.com/iot-components/tinyusb.

Re: USB HID for ESP32-S2

Posted: Mon Nov 22, 2021 8:58 am
by ESP_Sprite
hhuysqt wrote:
Mon Nov 22, 2021 8:42 am
Hi, the USB HID and MSC components for ESP-IDF can be found at https://github.com/iot-components/tinyusb.
Note that this is not an official Espressif repository. Espressif stuff will be under the Espressif namespace, that is, the URL starts with https://github.com/espressif/ .