2nd-keyboard icon indicating copy to clipboard operation
2nd-keyboard copied to clipboard

Intercept readme lacking instructions for low latency keypresses

Open phly95 opened this issue 1 year ago • 0 comments

If your script requires low latency, and autohotkey is not cutting it, you can use different triggers and combos for pressing and lifting the key you are pressing. For example, if you want to map the numpad of 4 to the number 2 on the keyboard (number row), in the lua script, you can make a command for pressing down num4 and another command as num4up that will lift the number 2 like this:

[num4] device=HID\VID_046D&PID_C31C&REV_4920&MI_00 trigger=4b,0,0 combo=3,0,0

[num4up] device=HID\VID_046D&PID_C31C&REV_4920&MI_00 trigger=4b,0,1 combo=3,0,1

This should be in the guide.

phly95 avatar Feb 22 '24 20:02 phly95