Arca Artem
1d2f52e407
process_key_lock: clear entire key state in cancel_key_lock() ( #26269 )
...
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.
2026-06-19 17:24:11 +01:00
フィルターペーパー
403211f7f8
Remove unused headers ( #26011 )
2026-02-13 18:20:18 +00:00
QMK Bot
6ed61c65dd
[CI] Format code according to conventions ( #25827 )
...
Format code according to conventions
2025-11-30 19:25:13 +00:00
Ryan
7cbff9d921
Deprecate KC_LOCK for QK_LOCK ( #18796 )
2022-10-21 15:46:10 +01:00
wheredoesyourmindgo
7f67504993
Added cancel_key_lock function ( #15321 )
2021-11-29 00:17:07 -08:00
Ryan
501f2fdef1
Normalise include statements in core code ( #11153 )
...
* Normalise include statements in core code
* Missed one
2020-12-11 13:45:24 +11:00
skullY
b624f32f94
clang-format changes
2019-08-30 15:01:52 -07:00
Jody Foo
f4949fdd32
Fix for issue https://github.com/qmk/qmk_firmware/issues/1751
2017-10-29 20:05:54 -04:00
Fredric Silberberg
114565fe81
Rename SHIFT macro to BV_64
2017-08-08 10:02:53 -04:00
Fredric Silberberg
a3e1d9a8cc
Added support for locking One Shot modifiers.
2017-08-08 10:02:53 -04:00
Fredric Silberberg
02f405708b
Remove hex print code.
2017-08-08 10:02:53 -04:00
Fredric Silberberg
8e1be7c792
Initial implementation of the key_lock feature.
2017-08-08 10:02:53 -04:00