Mild keymap tweaks
This commit is contained in:
parent
505f8dadb2
commit
3cb755a3db
|
@ -35,25 +35,25 @@
|
||||||
timeout-ms = <TIMEOUT_COMBO>;
|
timeout-ms = <TIMEOUT_COMBO>;
|
||||||
key-positions = <31 18 33>;
|
key-positions = <31 18 33>;
|
||||||
bindings = <&tog LAYER_ID_NAV>;
|
bindings = <&tog LAYER_ID_NAV>;
|
||||||
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
|
layers = <LAYER_ID_NAV LAYER_ID_FUNC>;
|
||||||
};
|
};
|
||||||
combo_layer_navigation_right {
|
combo_layer_navigation_right {
|
||||||
timeout-ms = <TIMEOUT_COMBO>;
|
timeout-ms = <TIMEOUT_COMBO>;
|
||||||
key-positions = <36 23 38>;
|
key-positions = <36 23 38>;
|
||||||
bindings = <&tog LAYER_ID_NAV>;
|
bindings = <&tog LAYER_ID_NAV>;
|
||||||
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
|
layers = <LAYER_ID_NAV LAYER_ID_FUNC>;
|
||||||
};
|
};
|
||||||
combo_shift_lock_left {
|
combo_shift_lock_left {
|
||||||
timeout-ms = <TIMEOUT_COMBO>;
|
timeout-ms = <TIMEOUT_COMBO>;
|
||||||
key-positions = <18 32>;
|
key-positions = <18 32>;
|
||||||
bindings = <&kt LSHFT>;
|
bindings = <&kt LSHFT>;
|
||||||
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
|
layers = <LAYER_ID_NAV LAYER_ID_FUNC>;
|
||||||
};
|
};
|
||||||
combo_shift_lock_right {
|
combo_shift_lock_right {
|
||||||
timeout-ms = <TIMEOUT_COMBO>;
|
timeout-ms = <TIMEOUT_COMBO>;
|
||||||
key-positions = <23 37>;
|
key-positions = <23 37>;
|
||||||
bindings = <&kt RSHFT>;
|
bindings = <&kt RSHFT>;
|
||||||
layers = <LAYER_ID_NAV LAYER_ID_FUNC LAYER_ID_MISC>;
|
layers = <LAYER_ID_NAV LAYER_ID_FUNC>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL
|
||||||
&trans &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &kp HOME &kp UP &kp END &kp PG_UP &trans &trans &trans
|
&trans &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &kp HOME &kp UP &kp END &kp PG_UP &trans &trans &trans
|
||||||
&trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &trans &trans
|
&trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &trans &trans
|
||||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &none
|
||||||
&trans &trans &trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
|
#include <dt-bindings/zmk/rgb.h>
|
||||||
|
#include <dt-bindings/zmk/ext_power.h>
|
||||||
|
|
||||||
#define TIMEOUT_COMBO 250
|
#define TIMEOUT_COMBO 250
|
||||||
|
|
||||||
|
@ -14,6 +16,7 @@
|
||||||
#define LAYER_ID_NAV 1
|
#define LAYER_ID_NAV 1
|
||||||
#define LAYER_ID_FUNC 2
|
#define LAYER_ID_FUNC 2
|
||||||
#define LAYER_ID_ALT 3
|
#define LAYER_ID_ALT 3
|
||||||
|
#define LAYER_ID_MISC 4
|
||||||
|
|
||||||
&pro_micro_i2c {
|
&pro_micro_i2c {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -74,7 +77,7 @@
|
||||||
bindings = <
|
bindings = <
|
||||||
&tildeesc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC &kp HOME
|
&tildeesc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC &kp HOME
|
||||||
&kp C_MUTE &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
|
&kp C_MUTE &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp PG_UP
|
||||||
&to LAYER_ID_FUNC &mo LAYER_ID_ALT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET &kp PG_DN
|
&mo LAYER_ID_MISC &mo LAYER_ID_ALT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET &kp PG_DN
|
||||||
&trans &kp LSHFT &none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT &kp UP &kp END
|
&trans &kp LSHFT &none &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT &kp UP &kp END
|
||||||
&trans &kp LCTRL &kp LGUI &kp LALT &kp SPACE &mo LAYER_ID_FUNC &kp RCTRL &kp RALT &kp LEFT &kp DOWN &kp RIGHT
|
&trans &kp LCTRL &kp LGUI &kp LALT &kp SPACE &mo LAYER_ID_FUNC &kp RCTRL &kp RALT &kp LEFT &kp DOWN &kp RIGHT
|
||||||
>;
|
>;
|
||||||
|
@ -117,5 +120,18 @@
|
||||||
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
misc_layer {
|
||||||
|
label = "Misc";
|
||||||
|
|
||||||
|
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
|
||||||
|
|
||||||
|
bindings = <
|
||||||
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
&mo LAYER_ID_MISC &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
&none &bt BT_CLR &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
&none &rgb_ug RGB_HUI &rgb_ug RGB_HUD &rgb_ug RGB_BRI &rgb_ug RGB_BRD &ext_power EP_TOG &trans &trans &trans &trans &trans
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue