Using autohotkey with a gamepad

Posted by Phenom on Super User See other posts from Super User or by Phenom
Published on 2010-02-09T07:52:45Z Indexed on 2010/03/25 23:03 UTC
Read the original article Hit count: 600

Filed under:
|

I can map buttons on a gamepad like this:

Joy2::
Send {Up down}  ; Hold down the left-arrow key.
KeyWait Joy2  ; Wait for the user to release the joystick button.
Send {Up up}  ; Release the left-arrow key.
return

However I want to remap the directional pad to do the same thing instead. How can I do this?

© Super User or respective owner

Related posts about autohotkey

Related posts about gamepad