Skip to content

feat(win): add opt to disable keystate sync - #2122

Merged
jtroo merged 1 commit into
mainfrom
winsync
Jul 26, 2026
Merged

feat(win): add opt to disable keystate sync#2122
jtroo merged 1 commit into
mainfrom
winsync

Conversation

@jtroo

@jtroo jtroo commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Release v1.12.0 enabled keystate sync on Windows LLHOOK. This triggered errors in user envs which had other userspace apps that use LLHOOK such as espanso.

Implement a way to turn the behaviour off.
Though the keystate sync is helpful in some cases
due to limitations of the Windows userspace keyboard APIs, it has limited knowledge and can behave incorrectly due again limitations of the Windows userspace keyboard APIs.

Checklist

  • Add documentation to docs/config.adoc
    • Yes
  • Add example and basic docs to cfg_samples/kanata.kbd
    • Yes
  • Update error messages
    • Yes
  • Added tests, or did manual testing
    • Yes

Release v1.12.0 enabled keystate sync on Windows LLHOOK.
This triggered errors in user envs which had other userspace apps
that use LLHOOK such as espanso.

Implement a way to turn the behaviour off.
Though the keystate sync is helpful in some cases
due to limitations of the Windows userspace keyboard APIs,
it has limited knowledge and can behave incorrectly
due again limitations of the Windows userspace keyboard APIs.
@jtroo
jtroo merged commit def6432 into main Jul 26, 2026
5 checks passed
@jtroo
jtroo deleted the winsync branch July 26, 2026 17:07
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