Invert gamepad button to avoid RSI

I assume AutoHotKey can be used for this purpose:

  • It seems to support gamepads in general (as joysticks).
  • It can be programmed to toggle or hold a certain button, using the information given in this forum thread, especially the last answer on the first page.
  • Here is a list of the buttons you might want to refer to (ranging from "Joy1 through Joy32").

Maybe something like this will get it to work (using t to toggle, and where Joy1 should be replaced by the right button, which can be found using the script on this page):

t::
Send {Joy1 down}
KeyWait, t
Send {Joy1 up}
return