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

[BUG] Duplicated key presses on mac os #1007

Open
lukaszpancer opened this issue Jul 19, 2024 · 1 comment
Open

[BUG] Duplicated key presses on mac os #1007

lukaszpancer opened this issue Jul 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lukaszpancer
Copy link

Describe the bug
The bug is related to HoldTap module and the parameter prefer_hold=False. When a regular key press is followed by a "Tap" of a HoldTap key, the regular key gets duplicated.

To Reproduce
Steps to reproduce the behavior:
LGUI = KC.HT(KC.A, KC.LGUI, prefer_hold=False)
LALT = KC.HT(KC.S, KC.RALT, prefer_hold=False)
LSFT = KC.HT(KC.D, KC.LSFT, prefer_hold=False)
LCTL = KC.HT(KC.F, KC.LCTRL, prefer_hold=False)

Example:
KC.C -> LSFT ----output-----> ccd
KC.E -> LCTL ----output-----> eef
KC.E -> KC.R -> LALT ----output-----> errs

Expected behavior
KC.C -> LSFT ----output-----> cd
KC.E -> LCTL ----output-----> ef
KC.E -> KC.R -> LALT ----output-----> ers

Debug output
Unfortunately i'm not able to debug on mac.

Additional context
Works as expected on windows. Nothing unusual in the serial/debug output on windows.

@lukaszpancer lukaszpancer added the bug Something isn't working label Jul 19, 2024
@lukaszpancer
Copy link
Author

Disabling key repetition seems to od the trick. It's far from ideal but it's better than unexpected input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant