Skip to content

Instantly share code, notes, and snippets.

@KhalidFawzy
Created October 22, 2012 04:06
Show Gist options
  • Save KhalidFawzy/3929582 to your computer and use it in GitHub Desktop.
Save KhalidFawzy/3929582 to your computer and use it in GitHub Desktop.
;Autohotkey_L U32
;Keyboard to joystick test
#InstallKeybdHook
#UseHook
Gui, Show, Center h100 w200,
Return
GuiEscape:
GuiClose:
ExitApp
$joy1::
SendInput s
return
$1::
SendInput {joy1 down}
keywait 1
SendInput (joy1 up}
return
$2::
SendInput {joy1}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment