0

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
2
  • Does this answer your question? Need to intercept HID Keyboard events (and then block them) Commented 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. Commented Mar 20, 2021 at 15:40

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.