zmk/app/dts/bindings
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
..
behaviors Behavior: Add custom lock functionality 2022-11-17 16:52:46 +01:00
display feat(display): IL0323 driver for EPD displays. 2021-08-24 22:15:42 -04:00
macros feat(behaviors): Add macro support. 2022-03-23 23:42:54 -04:00
vendor-prefixes.txt fix(build): Add local vendor prefix file. 2022-04-03 00:10:29 -04:00
zmk,combos.yaml Feat combo layers (#661) 2021-02-03 23:33:09 -05:00
zmk,conditional-layers.yaml feat(conditional-layers): Implement feature 2021-11-15 05:49:23 -05:00
zmk,ext-power-generic.yaml refactor(ext-power): Add init-delay-ms option 2021-02-16 14:51:32 -05:00
zmk,keymap-sensors.yaml chore: standardize # style headers 2021-01-06 17:00:44 -05:00
zmk,keymap.yaml feat(display): Initial widget/status screen work. 2020-12-02 16:04:56 -05:00
zmk,kscan-composite.yaml Move Zephyr app into subdirectory. 2020-06-08 21:07:16 -04:00
zmk,kscan-mock.yaml fix(test): change the layout 2020-08-28 16:21:31 -04:00
zmk,matrix-transform.yaml fix(keymaps): add row-offset property to matrix-transform 2021-12-20 06:14:35 -05:00