Adjust tidbit keymap to be more in line with daily use needs

This commit is contained in:
KemoNine 2021-01-08 23:20:25 +00:00
parent 16b47df18b
commit f59daa6e3d

View file

@ -11,8 +11,8 @@
#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 { &led_strip {
status = "disabled"; status = "disabled";
}; };
&encoder_1_top_row { &encoder_1_top_row {
@ -33,28 +33,13 @@
sensors = <&encoder_4>; sensors = <&encoder_4>;
}; };
// Purple : &rgb_ug RGB_COLOR_HSB(275, 100, 50)
// Orange : &rgb_ug RGB_COLOR_HSB(35, 100, 50)
// Blue : &rgb_ug RGB_COLOR_HSB(215, 100, 50)
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer {
label = "Mouse";
bindings = <
&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
&kp C_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none
>;
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
};
navigation_layer { navigation_layer {
// &rgb_ug RGB_COLOR_HSB(215, 100, 50)
label = "Nav"; label = "Nav";
bindings = < bindings = <
&to 0 &to 2 &to 3 &to 1 &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 &kp BSPC &kp ENTER &kp HOME &none &kp BSPC &kp ENTER
@ -63,7 +48,21 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
}; };
mouse_layer {
// &rgb_ug RGB_COLOR_HSB(275, 100, 50)
label = "Mouse";
bindings = <
&to 0 &to 2 &to 3
&none &none &none &kp LC(LA(TAB))
&none &none &none &kp LG(DOWN_ARROW)
&kp ESCAPE &none &none &none
&kp C_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none
>;
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
};
num_pad_layer { num_pad_layer {
// &rgb_ug RGB_COLOR_HSB(35, 100, 50)
label = "Num Pad"; label = "Num Pad";
bindings = < bindings = <
&to 0 &kp KP_NUMLOCK &kp KP_SLASH &to 0 &kp KP_NUMLOCK &kp KP_SLASH
@ -77,6 +76,7 @@
}; };
zmk_layer { zmk_layer {
// &rgb_ug RGB_COLOR_HSB(0, 100, 50)
label = "ZMK"; label = "ZMK";
bindings = < bindings = <
&to 0 &reset &bootloader &to 0 &reset &bootloader