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?

  • Muehe@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    22 days ago

    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.

    • ackthxbye@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 days ago

      Well the focus of AutoKey seems to be more productivity and utility. It works perfectly fine, but antimicrox is better suited for my usecase.