Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can map buttons on a gamepad like this:

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.

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

share|improve this question
up vote 5 down vote accepted

Auothotkey Joystick axis tutorial;

Or you could use KeyHistory to find what the Autoit name of the key is;



Run, press Alt+K. Brings up list of keys detected.

share|improve this answer
good answer, handy tip! – Boinst May 11 '12 at 2:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.