USB keyboard does not receive leds
Posted: Tue Sep 03, 2024 8:55 am
I am using the "CompositeDevice" example in the arduino IDE. It has code to write events for the caps-lock, num-lock and scroll-lock to the console output. It also has code to press the caps-lock button when pressing the on-board button. The events for the leds are never written to the console. Not when I press the on-board button (I see the leds on my real keyboard change, so that works) also not when I press my real caps-lock button.
What can I do to get the led events? I'm using linux if that matters.
sudo evtest
and selecting
/dev/input/eventxx: Espressif Systems ESP32_S3_USB_OTG Keyboard
does show it is doing something with the caps lock led when pressing caps-lock on my real keyboard.
What can I do to get the led events? I'm using linux if that matters.
sudo evtest
and selecting
/dev/input/eventxx: Espressif Systems ESP32_S3_USB_OTG Keyboard
does show it is doing something with the caps lock led when pressing caps-lock on my real keyboard.