360 controller strange behaviour?
Posted: 30 Apr 2017, 14:52
so i have made stuff more complicated than this, but for some reason i can't figure out what i'm doing wrong
My script is very simple:
I have 2 360 controllers at hand and with one my script fires with only the joy8 pressed, and the other one does absolutely nothing both controller seem to be operating fine in all other cases, and my script obviously works with keyboard keys, so what's going on here?
edit: the first controller works fine with single keys, but the second one won't trigger anything ahk related,
but ahk Joystick Test Script seems to be returning correct results when keys are pressed so as far as i can tell GetKeyState loop does get the correct key, so why is this happening? i'm definitely doing something wrong.
My script is very simple:
Code: Select all
Joy7 & Joy8::
Process,Close,myapp.exe
ExitAPP
edit: the first controller works fine with single keys, but the second one won't trigger anything ahk related,
but ahk Joystick Test Script seems to be returning correct results when keys are pressed so as far as i can tell GetKeyState loop does get the correct key, so why is this happening? i'm definitely doing something wrong.