Skip to content

Commit 092db32

Browse files
committed
added unhook_all line in controlling keyboard
1 parent 62e2e2b commit 092db32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

general/keyboard-controller/control_keyboard.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@
1818
# setting 0.1 seconds to wait between keypresses to look fancy
1919
keyboard.write("Python Programming is always fun!", delay=0.1)
2020

21+
# remove all keyboard hooks in use
22+
keyboard.unhook_all()
23+

0 commit comments

Comments
 (0)