Detect key-presses with Python in macOS
Detect key-presses with Python in macOS Question: I wrote a macro that use key-presses to record. It is using the keyboard module that does not work on macOS. Code import time import keyboard import pyautogui while True: if keyboard.is_pressed(‘e’): #recording v = [0] z = True m = time.time() while z == True: if keyboard.is_pressed(‘space’): …