Keychron / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
653 stars 826 forks source link

[Bug] After wake from sleep MOD_TAP key codes require double tap #262

Open slasi opened 1 month ago

slasi commented 1 month ago

Describe the Bug

My keyboard is connected to my Mac via USB cable. I have my caps lock key mapped to MT(MOD_LCTL, KC_ESC). This works great: single tap for escape and hold for ctrl. After my Mac goes to sleep and I wake it up it no longer works properly. After sleep, single tap does not issue escape key. I have to double tap for escape key. This is 100% reproducible on my system.

Keyboard Used

keychron/k3_max/ansi/rgb/keymap/via

Link to product page (if applicable)

https://www.keychron.com/products/keychron-k3-max-qmk-via-wireless-custom-mechanical-keyboard?variant=40685197033561

Operating System

macOS 14.4.1

qmk doctor Output

No response

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

No response

slasi commented 1 month ago

I was sent a new firmware file from keychron support which fixes the issue. Is this fix available in this repository? I'd like to make some custom modifications. Thanks.