Add layer labels to tidbit zmk sources

This commit is contained in:
KemoNine 2021-01-07 12:11:43 +00:00
parent ece6439736
commit cf5bc2a26e

View file

@ -40,6 +40,7 @@
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer { default_layer {
label = "Mouse";
bindings = < bindings = <
&to 1 &to 2 &to 3 &to 1 &to 2 &to 3
&none &none &none &kp LC(LA(TAB)) &none &none &none &kp LC(LA(TAB))
@ -51,17 +52,19 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
}; };
navigation_layer { navigation_layer {
label = "Nav";
bindings = < bindings = <
&to 0 &to 2 &to 3 &to 0 &to 2 &to 3
&kp PG_UP &kp UP &kp PG_DN &none &kp PG_UP &kp UP &kp PG_DN &none
&kp LEFT &kp DOWN &kp RIGHT &kp END &kp LEFT &kp DOWN &kp RIGHT &kp END
&kp HOME &none &none &kp ENTER &kp HOME &none &kp BSPC &kp ENTER
&kp C_MUTE &none &none &kp LA(F4) &kp C_MUTE &none &none &kp LA(F4)
>; >;
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
}; };
num_pad_layer { num_pad_layer {
label = "Num Pad";
bindings = < bindings = <
&to 0 &kp KP_NUMLOCK &kp KP_SLASH &to 0 &kp KP_NUMLOCK &kp KP_SLASH
&kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK &kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK
@ -74,6 +77,7 @@
}; };
zmk_layer { zmk_layer {
label = "ZMK";
bindings = < bindings = <
&to 0 &reset &bootloader &to 0 &reset &bootloader
&out OUT_TOG &out OUT_USB &out OUT_BLE &none &out OUT_TOG &out OUT_USB &out OUT_BLE &none