Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercept readme lacking instructions for low latency keypresses #177

Open
phly95 opened this issue Feb 22, 2024 · 0 comments
Open

Intercept readme lacking instructions for low latency keypresses #177

phly95 opened this issue Feb 22, 2024 · 0 comments

Comments

@phly95
Copy link

phly95 commented Feb 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant