I am developing an ESP32S3-based device that has to be able to host a standard USB keyboard
The “usb_host_lib” example (https://github.com/espressif/esp-idf/tr … t_lib/main) works properly to deliver user’s keystrokes to the hid host, but does not show how to command CAPS LOCK, NUM LOCK and SCROLL LOCK LEDs of the keyboard.
I have been trying to find how to effectively do it without causing keyboard to disconnect. Function hid_class_request_set_report, depending on the place where it is called, makes the target LED to light, but soon keyboard is disconnected and LED turns off.
I have been trying to find how to effectively do it without causing keyboard to disconnect. Function hid_class_request_set_report, depending on the place where it is called, makes the target LED to light, but soon keyboard is disconnected and LED turns off.
Has anyone solved this yet? Any clue?
AC Automação e Controle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.