pretty much i just need to check if any key on the keyboard without having to specify a key to check is pressed without blocking program from continuing if there is none
while True:
if keyboard.read_event("any key") == True):
print("doing thing 1")
else:
print("doing thing 2")
and idk if im crazy but i cant seem to find anything that does that in the documentation
pretty much i just need to check if any key on the keyboard without having to specify a key to check is pressed without blocking program from continuing if there is none
and idk if im crazy but i cant seem to find anything that does that in the documentation