zmk/app/dts/bindings/behaviors
Sophie Tyalie 34d9eb0e96 Behavior: Add custom lock functionality
Custom lock behavior can now be defined and actively used in the
keyboard.

A lock is toggled by typing a key, containing reference to the root
variable definition (`compatible = "zmk,behavior-custom-lock.yaml"`).

In order to have "A pressed -> Lock pressed -> A released" behave
correctly, this commit introduces a queue for currently pressed keys.
A release of such a key would then release the previous used behavior,
instead of the behavior the current lock state would suggest.

The size of the queue can be adjusted with `ZMK_BHV_LOCK_KEY_MAX_HELD`

Signed-off-by: Sophie Tyalie <dev@flowerpot.me>
2022-11-17 16:52:46 +01:00
..
one_param.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
two_param.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zero_param.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-backlight.yaml feat(backlight): initial split support 2022-02-05 23:40:18 -05:00
zmk,behavior-bluetooth.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-caps-word.yaml feat(behaviors): Add caps word (&caps_word). 2021-11-28 22:41:35 -05:00
zmk,behavior-custom-lock.yaml Behavior: Add custom lock functionality 2022-11-17 16:52:46 +01:00
zmk,behavior-ext-power.yaml chore: standardize # style headers 2021-01-06 17:00:44 -05:00
zmk,behavior-hold-tap.yaml feat(behaviors): Add global-quick-tap 2022-04-27 13:33:22 +01:00
zmk,behavior-key-press.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-key-repeat.yaml feat(behaviors): &key_repeat behavior + tests. 2022-01-30 22:47:34 -05:00
zmk,behavior-key-toggle.yaml feat(behavior): Add key toggle 2022-06-03 00:04:41 -04:00
zmk,behavior-macro.yaml feat(behaviors): Add macro support. 2022-03-23 23:42:54 -04:00
zmk,behavior-mod-morph.yaml feat(behaviors): Add mod-morph keep-mods 2022-10-14 20:40:28 -05:00
zmk,behavior-momentary-layer.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-none.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-outputs.yaml chore: standardize # style headers 2021-01-06 17:00:44 -05:00
zmk,behavior-reset.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00
zmk,behavior-rgb-underglow.yaml (feat) Allow setting underglow color by key press 2021-01-08 16:08:13 -05:00
zmk,behavior-sensor-rotate-key-press.yaml chore: standardize # style headers 2021-01-06 17:00:44 -05:00
zmk,behavior-sticky-key.yaml Behaviors: Add 'ignore-modifiers' option to sticky keys 2022-02-07 14:45:07 -05:00
zmk,behavior-tap-dance.yaml feat(behaviors): Add Tap-Dance behavior 2022-03-16 01:08:42 -04:00
zmk,behavior-to-layer.yaml (feature) Add &to keycode/behavior (#489) 2020-12-29 11:57:49 -05:00
zmk,behavior-toggle-layer.yaml fix: Switch to single AUTHORS file.* Closes #164 2020-09-10 10:24:23 -04:00
zmk,behavior-transparent.yaml chore(core): replace Pete Johanson with The ZMK Contributors 2021-01-16 11:30:37 -05:00