Comment by pentamassiv
Comment by pentamassiv 3 days ago
I maintain a library to simulate input on Windows, macOS and Linux. There are a ton of quirks on all of these platforms. On Windows you can simulate text input. The text cannot start with a new line character though. It is perfectly fine if it's not the first one though. macOS also allows you to simulate text input, but the text has to be shorter than 21 characters. Linux is especially difficult with X11, multiple Wayland protocols and libei.
Look into contributing to LibTAS.
It’s very Linux specific but can frame by frame manipulate the input that an application is getting, meant for speed runs of games.