Skip to content

[Bug] caps lock on layer not working with achordion #46

@david-amirault

Description

@david-amirault

Describe the bug

Two keys on opposite sides of the keyboard, in their normal qwerty positions:

X is a mod-tap control key, K is a layer-tap key.
In the layer toggled by K, X corresponds to caps lock.

K down -> X down -> X up -> K up

This key sequence does not enable caps lock, unless I wait for achordion_timeout() after K down.

Caps word works as expected in this use case, just not caps lock.

I suspect this is related to the following https://github.com/qmk/qmk_firmware/blob/master/docs/feature_macros.md:

If the keycode is KC_CAPS, it waits TAP_HOLD_CAPS_DELAY milliseconds instead (default 80), as macOS prevents accidental Caps Lock activation by waiting for the key to be held for a certain amount of time.

Performed on MacOS, ZSA Moonlander with caps word and key repeat elsewhere in the keymap, and with all achordion mods set to eager.

Information

Do the keys involved use any of the following features?

  • Achordion (from this repo)
  • Auto Shift
  • Combos
  • Key Overrides
  • Mod-tap or Layer-tap keys
  • Other custom userspace code:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions