Skip to content

Commit c128be1

Browse files
Merge pull request #1644 from dearmash/patch-1
Release keys when switching apps
2 parents ddc4f95 + 79d6a16 commit c128be1

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)