Deleted unuseful files
This commit is contained in:
parent
21b8ec8f18
commit
f6ad411cf7
|
@ -1,4 +0,0 @@
|
|||
pour hotkey
|
||||
|
||||
input, si la touche est spécial on continue la détection sinon on arrete
|
||||
pour vérifier les input du clavier, il faut que je loop une liste et si dans la liste toutes les touches préssés y sont, on déclenche l'event
|
18
test.py
18
test.py
|
@ -1,18 +0,0 @@
|
|||
from pynput import keyboard
|
||||
from pynput.keyboard import Key
|
||||
|
||||
keyinput= []
|
||||
|
||||
def on_press(key):
|
||||
if "Key." in str(key):
|
||||
keypress = str(key)
|
||||
else:
|
||||
keypress = keyboardLis.canonical(key)
|
||||
|
||||
if keypress not in keyinput:
|
||||
keyinput.append(keypress)
|
||||
print(keyinput)
|
||||
|
||||
|
||||
with keyboard.Listener(on_press=on_press) as keyboardLis:
|
||||
keyboardLis.join()
|
Loading…
Reference in New Issue