Skip to content

Fix modifier key lag#1

Open
WhittJS wants to merge 2 commits intoSloKart:mainfrom
WhittJS:main
Open

Fix modifier key lag#1
WhittJS wants to merge 2 commits intoSloKart:mainfrom
WhittJS:main

Conversation

@WhittJS
Copy link
Copy Markdown

@WhittJS WhittJS commented Mar 11, 2026

  • Set 1ms Windows timer resolution via timeBeginPeriod so SetTimer and Sleep intervals don't round up to ~15.6m
  • Use hooks instead of polling for keyboard/mouse so modifier presses (Shift, Ctrl, Alt) pause the auto-presser without waiting for the next poll cycle (root cause of delay)

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

Successfully merging this pull request may close these issues.

1 participant