Deleted unnecessary function
This commit is contained in:
parent
8181dfa28f
commit
2f773068d3
1 changed files with 0 additions and 9 deletions
9
keys.py
9
keys.py
|
@ -1,12 +1,3 @@
|
||||||
from pynput.keyboard import Listener
|
|
||||||
|
|
||||||
def key_check(key):
|
|
||||||
print(str(key))
|
|
||||||
|
|
||||||
key_check_Listener = Listener(
|
|
||||||
on_press=key_check)
|
|
||||||
key_check_Listener.start()
|
|
||||||
|
|
||||||
forbidden = [
|
forbidden = [
|
||||||
'Key.esc', 'Key.cmd', 'Key.cmd_r', 'Key.menu',
|
'Key.esc', 'Key.cmd', 'Key.cmd_r', 'Key.menu',
|
||||||
'Key.pause', 'Key.scroll_lock', 'Key.print_screen',
|
'Key.pause', 'Key.scroll_lock', 'Key.print_screen',
|
||||||
|
|
Loading…
Add table
Reference in a new issue