diff options
Diffstat (limited to 'app/tests/sticky-keys/behavior_keymap.dtsi')
-rw-r--r-- | app/tests/sticky-keys/behavior_keymap.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/tests/sticky-keys/behavior_keymap.dtsi b/app/tests/sticky-keys/behavior_keymap.dtsi new file mode 100644 index 0000000..ae46396 --- /dev/null +++ b/app/tests/sticky-keys/behavior_keymap.dtsi @@ -0,0 +1,22 @@ +#include <dt-bindings/zmk/keys.h> +#include <behaviors.dtsi> +#include <dt-bindings/zmk/kscan-mock.h> + +/ { + keymap { + compatible = "zmk,keymap"; + label ="Default keymap"; + + default_layer { + bindings = < + &sk E &mo 1 + &kp A &kp B>; + }; + + lower_layer { + bindings = < + &sk LEFT_CONTROL &kp X + &kp Y &kp Z>; + }; + }; +}; |