Compare commits

..

2 commits

View file

@ -11,6 +11,10 @@
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/ext_power.h> #include <dt-bindings/zmk/ext_power.h>
&spi1 {
status = "disabled";
};
&encoder_1_top_row { &encoder_1_top_row {
status = "disabled"; status = "disabled";
}; };
@ -37,7 +41,7 @@
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer { default_layer {
bindings = < bindings = <
&to 1 &bootloader &none &to 1 &to 2 &to 3
&none &none &none &kp LC(LA(TAB)) &none &none &none &kp LC(LA(TAB))
&none &none &none &kp LG(DOWN_ARROW) &none &none &none &kp LG(DOWN_ARROW)
&kp ESCAPE &none &none &none &kp ESCAPE &none &none &none
@ -46,9 +50,20 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
}; };
navigation_layer {
bindings = <
&to 0 &to 2 &to 3
&kp PG_UP &kp UP &kp PG_DN &none
&kp LEFT &kp DOWN &kp RIGHT &kp END
&kp HOME &none &none &kp ENTER
&kp C_MUTE &none &none &none
>;
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
};
num_pad_layer { num_pad_layer {
bindings = < bindings = <
&to 2 &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
&kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_MINUS &kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_MINUS
&kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &kp KP_PLUS &kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &kp KP_PLUS
@ -58,7 +73,7 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
}; };
func_layer { zmk_layer {
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