add layout

This commit is contained in:
Waylon Walker 2024-06-26 19:33:15 -05:00
parent baf627d1b0
commit 18676c52a8
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -0,0 +1,31 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
/ {
keymap {
compatible = "zmk,keymap";
label = "ninepad";
default_layer {
label = "Default";
bindings = <
&kp KP_N7 &kp KP_N8 &mo 1
&kp KP_N4 &kp KP_N5 &kp KP_N6
&kp KP_N1 &kp KP_N2 &kp KP_N3
>;
};
bt_layer {
label = "bt";
bindings = <
&none &none &bootloader
&none &none &bt BT_CLR
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2
>;
};
};
};