mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-06-28 18:24:03 -04:00
1d2f52e407
cancel_key_lock() called UNSET_KEY_STATE(0x0), which expands to clearing only bit 0 of key_state[0]. The lock state is a 256-bit map spread across key_state[0..3], so every locked key other than keycode 0x00 stayed latched after a cancel. Zero all four words so cancel_key_lock() releases every locked key, as its name and its public declaration in process_key_lock.h imply.