Skip to content

Commit 79d6a16

Browse files
authored
Release keys when switching layers
Just a good way to unstick keys just in case.
1 parent 31d921a commit 79d6a16

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Macropad_Hotkeys/code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def switch(self):
4242
else: # Key not in use, no label or LED
4343
MACROPAD.pixels[i] = 0
4444
GROUP[i].text = ''
45+
MACROPAD.keyboard.release_all()
4546
MACROPAD.pixels.show()
4647
MACROPAD.display.refresh()
4748

0 commit comments

Comments
 (0)