I want to use a game mapping script written for Windows here that uses this very simple line:
from win32api import keybd_event, GetAsyncKeyState
I wonder if there is a similar easy line I could use in Linux.
In other words, I just need a way to signal to the running script when to start reading coordinates and when to stop...
 asked Mar 20, 2021 at 14:46
 
 
 
 B Furtado 
 
 1,5104 gold badges21 silver badges34 bronze badges
 
 - 
 Does this answer your question? Need to intercept HID Keyboard events (and then block them)Ulrich Eckhardt– Ulrich Eckhardt2021年03月20日 15:06:30 +00:00Commented Mar 20, 2021 at 15:06
 - 
 Not really. I took a look. But I'm not an expert on C or Linux. I know my away around python and was just trying to use a script originally thought for Windows.B Furtado– B Furtado2021年03月20日 15:40:51 +00:00Commented Mar 20, 2021 at 15:40
 
lang-py