The code I'm trying to convince to work is very simple:
Code: Select all
; Add slight delay to key presses
SetKeyDelay,10,10
; This is the joystick # from JoystickTest.ahk
JoyN := 2
; Keyboard mapping
SYS = {Left}
ENG = {Up}
WEP = {Right}
BAL = {Down}
; Basic commands
Joy6::Send %BAL%
...
; Macros
Joy24::PowerEng2Wep4()
...
; 2 pips to ENG, 4 pips to WEP
PowerEng2Wep4()
{
Send %BAL%%WEP%%WEP%%ENG%%WEP%
}
Code: Select all
Joy1::Send {Left}
Home::PowerEng2Wep4()
Code: Select all
Home::Send %ENG%
And yet my old scripts, that have listening loops for the POVHats and mode switching so that a button press changes what some but not all of the buttons on the stick do, and a shift key so things are changed past that, all of that works with this stick! And I've double-checked the JoyN half a dozen times, it's the right one, so it's not that.
Anyway, I'm out of ideas, and thought I'd ask for help.
Any ideas?