Add nav layer to tidbit ; disable tidbit underglow for now

This commit is contained in:
KemoNine 2021-01-05 17:50:37 +00:00
parent 607391b256
commit 8fafab6ebe
1 changed files with 19 additions and 4 deletions

View File

@ -11,6 +11,10 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/ext_power.h>
&spi1 {
status = "disabled";
};
&encoder_1_top_row {
status = "disabled";
};
@ -37,7 +41,7 @@
compatible = "zmk,keymap";
default_layer {
bindings = <
&to 1 &bootloader &none
&to 1 &to 2 &to 3
&none &none &none &kp LC(LA(TAB))
&none &none &none &kp LG(DOWN_ARROW)
&kp ESCAPE &none &none &none
@ -46,9 +50,20 @@
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 {
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_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
@ -58,9 +73,9 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
};
func_layer {
zmk_layer {
bindings = <
&to 0 &reset &bootloader
&to 0 &reset &bootloader
&out OUT_TOG &out OUT_USB &out OUT_BLE &none
&rgb_ug RGB_TOG &bt BT_PRV &bt BT_NXT &bt BT_CLR
&ext_power EXT_POWER_TOGGLE_CMD &bt BT_SEL 4 &bt BT_SEL 5 &bt BT_SEL 6