Closed andreasbrett closed 1 year ago
tested and same behaviour for:
Transferred issue to the library. This is occurring because of https://github.com/adafruit/circuitpython/pull/6767, which fixed .get_last_received_report()
. But the library was not updated to handle the new semantics. The library now needs to keep a state variable that reflects what the last received report is, instead of just querying .get_last_received_report()
.
CircuitPython version
Code/REPL
Behavior
adafruit_hid.keyboard.Keyboard.led_on only reports True once and not the whole time the LED is on.
The above code should print out True while caps lock is on and False otherwise. Testing this code in a RPi Pico confirms this behavior. On the RPi Zero though True is only printed once per loop then immediately returns back to False even though the caps lock is still on.
Description
No response
Additional information
No response