AutoHotkey: open-source utility to remap gampad input to button input
Please check here for the program. Below is a sample script to translate both gamepad axis and button inputs. ======== ; Autohotkey Script that matches a few joypad buttons to keyboard events ; Instruction: ; 1) Identify the Joypad buttons that you want to use ; The sample script at ; http://www.autohotkey.com/docs/scripts/JoystickTest.htm ; provides a good way for you to find out the mapping ; 2) Modify Part 0 and Part 1 accordingly. ; 3) Enjoy! #Persistent ; Keep this script running until the user explicitly exits it. ; Part 0: turbo key config ; State if any keys need turbo ('Y' if needed) TurboJoy4 = N TurboJoy1 = N TurboJoy8 = N TurboJoy3 = N TurboJoy2 = Y TurboJoy6 = N ; main routine SetTimer, Watch, 5 return ; Watch method Watch: SetKeyDelay -1 ; Avoid delays between keystrokes. ; Part 1: key mapping routine each JoyX to be used ; Joy4 -> 'Q' GetKeyState, Joy4, Joy4 Joy4PPrev = %Joy4P% if Joy4 = D { if TurboJoy4 = Y { Send {Q down} ...