Skip to content

[BUG] Duplicated key presses on mac os #1007

@lukaszpancer

Description

@lukaszpancer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions