I’m currently on Nobara 42, on Windows I used AutoHotKey on some games.
At the moment I’m looking to keep automatically accelerating in Redout and enable quick-fire in Herocore.
Both games were fine with mixing keyboard input from AutoHotKey and real input from a gamepad. But if possible I’d also like to simulate gamepad input.
Ideally I’d like to start the different scripts for different games individually from the pre-launch option within Lutris to avoid having to define global hotkeys that are enabled all the time.
I found AutoKey but that seems more focused on Text Input and doesn’t seem to support launching scripts individually (altouigh it has a Window Filter).
Is there any other software to send input better suited to my use-case?
antimicrox?
Turns out Lutris even has an option to enable a specific antimicrox profile on launching a game. Perfect. Thank you!
xdotool/wdotool?
https://github.com/autokey/autokey
https://github.com/rvaiya/keyd
https://github.com/phil294/AHK_X11
or just AutoHotKey on Wine/Proton
Most of these are just x11, are there any equivalents for wayland?
I’m not sure exactly what OP is looking for but I use keyd for keyboard remapping but I’m pretty sure it also fully supports macros.
I found AutoKey but that seems more focused on Text Input and doesn’t seem to support launching scripts individually (altouigh it has a Window Filter).
I’m not sure what exactly you mean by this, but AutoKey has Python scripting built in and an extensive API:
https://github.com/autokey/autokey/wiki/Scripting
And from a Python script you can launch any other script/program you want with a
subprocess
library call.Autokey can trigger xdotool, pyautogui and more. I use it daily like this.
However, if you want the really good gear, check out Talon Voice. It’s unfortunately closed source, but has a free access tier that’s capable.
The community have created open source addons and it’s stellar for daily driving, and games.
input-remapper
Might work