Deleted unuseful files

This commit is contained in:
LE LOUER Lucas 2023-08-11 19:45:13 +02:00
parent 21b8ec8f18
commit f6ad411cf7
2 changed files with 0 additions and 22 deletions

View File

@ -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
View File

@ -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()