Or maybe I just don’t remember?
Lol, actually that’s on me. I was an idiot and confused AHK with Joy2Key for some reason.
However, I did find this on the AHK wiki, although it seems like Microsoft, as usual, makes things harder than they need to be:
For Xbox controller 2013 and newer (anything newer than the Xbox 360 controller), Joy1 to Joy32 hotkeys will only work if a window owned by the script is active, such as a message box, GUI, or the script’s main window. This limitation also applies to GetKeyState for Joy1 to Joy32 and JoyX, JoyY, JoyZ, JoyR, JoyU, JoyPOV (and possibly JoyV), but not for JoyName, JoyButtons, JoyAxes and JoyInfo. To detect those controller inputs for other active windows, use the XInput.ahk library.
Still, it’s worth a shot regardless. Seems like it does support gamepads but there might also be some tinkering required.
It was confirmed Sublinks a little while ago:
https://beehaw.org/comment/3686715