Fix an issue with left and right detection

This commit is contained in:
CactiChameleon9 2020-12-15 07:45:03 +00:00
parent d0dac60704
commit a5ff838f8d

View File

@ -35,7 +35,7 @@ print("[+] Connected.")
def on_click(x, y, button, pressed):
if button == "Button.left":
if button == Button.left:
dataToSend = ("L")
else:
dataToSend = ("R")