We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285999e commit dc5b082Copy full SHA for dc5b082
general/keyboard-controller/control_keyboard.py
@@ -18,6 +18,11 @@
18
# setting 0.1 seconds to wait between keypresses to look fancy
19
keyboard.write("Python Programming is always fun!", delay=0.1)
20
21
+# record all keyboard clicks until esc is clicked
22
+events = keyboard.record('esc')
23
+# play these events
24
+keyboard.play(events)
25
+
26
# remove all keyboard hooks in use
27
keyboard.unhook_all()
28
0 commit comments