Hi
I am trying to use the example on a ESP32-S3-USB-OTG board:
examples/peripherals/usb/host/hid/main/hid_host_example.c
But when I compile these 3 files are not found:
#include "usb/hid_host.h"
#include "usb/hid_usage_keyboard.h"
#include "usb/hid_usage_mouse.h"
It seems that they were deleted in this commit:
https://github.com/espressif/esp-idf/co ... df30675a99
How can this be solved?
thanks
USB HDI Host example
-
- Posts: 196
- Joined: Sun Jun 23, 2024 6:18 pm
Re: USB HDI Host example
The error is due to the removal of the mentioned headers in the latest versions of the ESP-IDF.
Re: USB HDI Host example
Hi
Thanks for the answer.
But the examples still use these files. See here HOST HID example:
https://github.com/espressif/esp-idf/tr ... t/hid/main
So how can I use the examples?
I tried to get the files from a previous repo but then I get a lot of compilation errors.
thanks
Thanks for the answer.
But the examples still use these files. See here HOST HID example:
https://github.com/espressif/esp-idf/tr ... t/hid/main
So how can I use the examples?
I tried to get the files from a previous repo but then I get a lot of compilation errors.
thanks
Re: USB HDI Host example
If the files were removed why do the examples still use these files?
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB HDI Host example
I think the USB HID library has been moved to the component registry; those examples will automatically download and add that component if you build them.
Who is online
Users browsing this forum: nullbert and 92 guests