zmk/app/dts/behaviors/custom_lock.dtsi
Sophie Tyalie 776b118d95 CustomLock: add basic file structure
This is the first commit introducing custom lock behavior. Currently
does nothing, except existing and that one can reference it in the
keyboard layout not dissimilar to e.g. `&none`.

The code is also orientated along the latter for right now, ready to be
extended.

Signed-off-by: Sophie Tyalie <dev@flowerpot.me>
2022-11-15 16:40:47 +01:00

15 lines
258 B
Text

/*
* Copyright (c) 2022 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
/ {
behaviors {
/omit-if-no-ref/ lock: behavior_custom_lock {
compatible = "zmk,behavior-custom-lock";
label = "CUSTOM LOCK";
#binding-cells = <0>;
};
};
};