I created this script to remap the arrow keys to spacebar-ijkl, that is
spacebar-i give me up,
spacebar-j give me left
and so on
The problem is that now there is a delay in the space bar. If I try to type "space r" too fast the space is ignored. Or if I type "space i" it will activate the hotkey and move the cursor UP.
Is there any way to optimize this? I just want the space bar to act normally unless I'm pressing space bar AND one of the hot keys at the same time.
thanks
FKG
space::Send {space} return space & I:: GetKeyState, state1, Shift GetKeyState, state2, Control if state1=D SendInput +{UP} else if state2=D SendInput ^{UP} else SendInput {UP} return space & L:: GetKeyState, state1, Shift GetKeyState, state2, Control if state1=D SendInput +{RIGHT} else if state2=D SendInput ^{RIGHT} else SendInput {RIGHT} return space & K:: GetKeyState, state1, Shift GetKeyState, state2, Control if state1=D SendInput +{DOWN} else if state2=D SendInput ^{DOWN} else SendInput {DOWN} return space & J:: GetKeyState, state1, Shift GetKeyState, state2, Control if state1=D SendInput +{LEFT} else if state2=D SendInput ^{LEFT} else SendInput {LEFT} return