Skip to content

Commit e9c4c62

Browse files
committed
Fix key release pixel effect.
1 parent 3309034 commit e9c4c62

File tree

1 file changed

+1
-1
lines changed
  • NeoKey_MX_and_CHOC_Breakouts/CircuitPython/HID

1 file changed

+1
-1
lines changed

NeoKey_MX_and_CHOC_Breakouts/CircuitPython/HID/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@
7171
# If there is a key released event, run this block.
7272
if event and event.released:
7373
# Turn off the LEDs.
74-
pixels.fill((0, 0, 0))
74+
pixels[event.key_number] = (0, 0, 0)
7575
# Report that the key switch has been released.
7676
keyboard.release_all()

0 commit comments

Comments
 (0)