Depending on what the script does, you could replace pygame with something else to read key presses e.g. pip install keyboard, then use: etc.
Code:
keyboard.on_press(key_press)
Statistics: Posted by neilgl — Tue Aug 27, 2024 7:34 pm