Created
August 6, 2024 15:37
-
-
Save willwade/b14156bc75b39d8ce01e255c91dd7ff0 to your computer and use it in GitHub Desktop.
joystick 2 number pad. Use with mouse keys if you wo wish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Initialize variables for joystick | |
JoyUp:: ; Joystick up | |
JoyDown:: ; Joystick down | |
JoyLeft:: ; Joystick left | |
JoyRight:: ; Joystick right | |
; Map joystick directions to numpad keys | |
JoyUp:: | |
Send {Numpad8} | |
return | |
JoyDown:: | |
Send {Numpad2} | |
return | |
JoyLeft:: | |
Send {Numpad4} | |
return | |
JoyRight:: | |
Send {Numpad6} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment