The code to get the chording shift work in autohotkey
Joy1::
Loop
{
GetKeyState, JoyTrigger, %A_ThisHotkey%
if JoyTrigger = U ; Main button released before the others were pressed.
{
Send a
return
}
; End this thread to start waiting again for a new triggering.
GetKeyState, JoyState2, Joy7 ; Replace these digits with your chosen buttons.
JoyStates = %JoyState2%
if JoyStates = D ; The Shift key is down now, so send letter and break out of the loop.
{
Send u
return
}
else ; Keep waiting, but do a Sleep to prevent heavy load on CPU:
sleep,10
GetKeyState, JoyState3, Joy5
JoyStates2 = %JoyState3%
if JoyStates2 = D ; The Shift key is down now, so send letter and break out of the loop.
{
Send y
return
}
else ; Keep waiting, but do a Sleep to prevent heavy load on CPU:
sleep,10
}
return