Updated Keymap
All checks were successful
/ build (push) Successful in 3m42s

This commit is contained in:
Kaybee 2025-01-09 23:38:32 +01:00
parent 35f0f4809e
commit 97360c9ad9
No known key found for this signature in database

View file

@ -5,8 +5,15 @@
*/ */
#include <behaviors.dtsi> #include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/rgb.h>
&led_strip {
// chain-length = <6>;
chain-length = <31>; // Uncomment if using both per-key and underglow LEDs
// chain-length = <25>; // Uncomment if using only per-key LEDs.
};
/ { / {
combos { combos {
@ -18,7 +25,7 @@
}; };
function_layer { function_layer {
bindings = <&mo 4>; bindings = <&mo 3>;
key-positions = <36 41>; key-positions = <36 41>;
}; };
}; };
@ -27,105 +34,105 @@
sym_sec: sym_sec { sym_sec: sym_sec {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp S &kp O>; bindings = <&kp SLCK &kp S &kp O>;
label = "sym_sec"; label = "sym_sec";
}; };
de_ue: de_ue { de_ue: de_ue {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp U &kp DQT>; bindings = <&kp SLCK &kp U &kp DQT>;
label = "DE_UE"; label = "DE_UE";
}; };
de_ae: de_ae { de_ae: de_ae {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp A &kp DQT>; bindings = <&kp SLCK &kp A &kp DQT>;
label = "DE_AE"; label = "DE_AE";
}; };
de_oe: de_oe { de_oe: de_oe {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp O &kp DQT>; bindings = <&kp SLCK &kp O &kp DQT>;
label = "DE_OE"; label = "DE_OE";
}; };
de_ss: de_ss { de_ss: de_ss {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp S &kp S>; bindings = <&kp SLCK &kp S &kp S>;
label = "DE_SS"; label = "DE_SS";
}; };
sym_eur: sym_eur { sym_eur: sym_eur {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp C &kp EQUAL>; bindings = <&kp SLCK &kp C &kp EQUAL>;
label = "SYM_EUR"; label = "SYM_EUR";
}; };
sym_ss1: sym_ss1 { sym_ss1: sym_ss1 {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp CARET &kp KP_NUMBER_1>; bindings = <&kp SLCK &kp CARET &kp KP_NUMBER_1>;
label = "SYM_SS1"; label = "SYM_SS1";
}; };
sym_ss2: sym_ss2 { sym_ss2: sym_ss2 {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp CARET &kp KP_NUMBER_2>; bindings = <&kp SLCK &kp CARET &kp KP_NUMBER_2>;
label = "SYM_SS2"; label = "SYM_SS2";
}; };
sym_ss3: sym_ss3 { sym_ss3: sym_ss3 {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp CARET &kp KP_NUMBER_3>; bindings = <&kp SLCK &kp CARET &kp KP_NUMBER_3>;
label = "SYM_SS3"; label = "SYM_SS3";
}; };
sym_tm: sym_tm { sym_tm: sym_tm {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp T &kp M>; bindings = <&kp SLCK &kp T &kp M>;
label = "SYM_TM"; label = "SYM_TM";
}; };
sym_reg: sym_reg { sym_reg: sym_reg {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp O &kp R>; bindings = <&kp SLCK &kp O &kp R>;
label = "SYM_REG"; label = "SYM_REG";
}; };
sym_copy: sym_copy { sym_copy: sym_copy {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp O &kp C>; bindings = <&kp SLCK &kp O &kp C>;
label = "SYM_COPY"; label = "SYM_COPY";
}; };
sym_deg: sym_deg { sym_deg: sym_deg {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp O &kp O>; bindings = <&kp SLCK &kp O &kp O>;
label = "SYM_DEG"; label = "SYM_DEG";
}; };
sym_mu: sym_mu { sym_mu: sym_mu {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp M &kp U>; bindings = <&kp SLCK &kp M &kp U>;
label = "SYM_MU"; label = "SYM_MU";
}; };
sym_acute: sym_acute { sym_acute: sym_acute {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp RALT &kp SQT &kp SQT>; bindings = <&kp SLCK &kp SQT &kp SQT>;
label = "SYM_ACUTE"; label = "SYM_ACUTE";
}; };
}; };
@ -234,69 +241,67 @@
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer { base_colemak-dh {
bindings = <
&kp TAB &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &de_hash &trans
&kp ESC &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &trans
&trans &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &de_comma &de_dot &kp MINUS &trans
&mo 2 &kp LSHIFT &kp RET &kp BSPC &kp SPACE &mo 4
>;
};
base_quertz-de {
// ----------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------
// | TAB | Ü | , | . | P | Y | | F | G | C | T | Z | ? | // | ESC | Q | W | E | R | T | | Y | U | I | O | P | \ |
// | ESC | A | O | E | I | U | | H | D | R | N | S | L | // | TAB | A | S | D | F | G | | H | J | K | L | ; | ' |
// | Ä | Ö | Q | J | K | X | | B | M | , | . | # | - | // | SHIFT | Z | X | C | V | B | | N | M | , | . | / | CTRL |
// | CTRL| GUI | SPC | | ENT | RSE | ALT | // | GUI | DEL | RET | | TAB | BSPC | R-ALT |
bindings = < bindings = <
&kp TAB &de_ue &de_comma &de_dot &kp P &kp Y &kp F &kp G &kp C &kp T &kp Z &dv_qmark_ss &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Z &kp U &kp I &kp O &kp P &de_ue
&kp ESC &kp A &kp O &kp E &kp I &kp U &kp H &kp D &kp R &kp N &kp S &kp L &kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &de_oe &de_ae
&de_ae &de_oe &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &de_hash &kp MINUS &kp LCTRL &kp Y &kp X &kp C &kp V &kp B &kp N &kp M &de_comma &de_dot &kp MINUS &de_hash
&mo 2 &kp LSHFT &kp RET &kp BSPC &kp SPACE &mo 3 &none &mo 2 &kp LSHFT &kp SPACE &mo 4 &none
>;
sensor-bindings =
<&mouse_scroll_vertical>,
<&mouse_scroll_horizontal>;
};
extend_layer {
bindings = <
&trans &kp ESC &kp K_BACK &kp TAB &kp K_FORWARD &kp INS &kp HOME &kp PG_UP &kp UP &kp PG_DN &kp CAPS &trans
&trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &kp END &kp LEFT &kp DOWN &kp RIGHT &kp DEL &trans
&trans &kp LC(Z) &kp LC(X) &kp LC(C) &kp LGUI &kp LC(V) &kp ENTER &kp BSPC &kp TAB &kp K_APP &kp PSCRN &trans
&trans &trans &trans &trans &kp RET &trans
>; >;
}; };
quertz_de { function_layer {
// -----------------------------------------------------------------------------------------
// | TAB | Q | W | E | R | T | | Z | U | I | O | P | Ü |
// | ESC | A | S | D | F | G | | H | J | K | L | Ö | Ä |
// | < | Y | X | C | V | B | | N | M | , | . | - | # |
// | EXT | SFT | ENT | | BSP | SPC | SYM |
bindings = < bindings = <
&trans &kp Q &kp W &kp E &kp R &kp T &kp Z &kp U &kp I &kp O &kp P &de_ue &rgb_ug RGB_EFF &kp K_STOP &kp K_PREV &kp K_PLAY_PAUSE &kp K_NEXT &kp C_BRIGHTNESS_INC &kp F12 &kp F7 &kp F8 &kp F9 &kp SLCK &rgb_ug RGB_TOG
&trans &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &de_oe &de_ae &rgb_ug RGB_SPI &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &kp C_BRI_DEC &kp F11 &kp F4 &kp F5 &kp F6 &to 1 &rgb_ug RGB_BRI
&de_lt_mt_pipe &kp Y &kp X &kp C &kp V &kp B &kp N &kp M &de_comma &de_dot &kp MINUS &de_hash &rgb_ug RGB_SPD &kp K_MUTE &kp C_VOL_DN &kp LC(LS(C)) &kp C_VOL_UP &kp LC(LS(V)) &kp F10 &kp F1 &kp F2 &kp F3 &to 0 &rgb_ug RGB_BRD
&trans &kp LSHFT &kp ENTER &kp BACKSPACE &kp SPACE &trans &none &trans &trans &kp ENTER &trans &none
>; >;
}; };
extend { symbol_layer {
bindings = < bindings = <
&trans &kp DEL &kp C_AC_BACK &kp C_AC_FIND &kp C_AC_FORWARD &kp INS &kp PG_UP &kp HOME &kp UP &kp END &none &kp BSPC &trans &de_ae &kp EXCL &sym_eur &kp DOLLAR &kp PERCENT &sym_deg &kp GRAVE &de_ue &kp DQT &de_oe &trans
&trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &none &kp ENTER &trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &kp PIPE &kp CARET &kp LEFT_PARENTHESIS &kp LBRC &kp LBKT &kp LT &trans
&none &kp LC(Z) &kp LC(X) &kp LC(C) &kp LGUI &kp LC(V) &none &none &kp TAB &kp K_APP &kp PSCRN &none &trans &kp AT &kp QMARK &kp BSLH &kp AMPS &trans &kp TILDE &kp RIGHT_PARENTHESIS &kp RBRC &kp RBKT &kp GT &trans
&none &trans &trans &trans &trans &none &none &mo 3 &mo 5 &trans &none &none
>; >;
}; };
symbol { number_layer {
bindings = < bindings = <
&de_car_deg &kp LBRC &kp LBKT &kp RBKT &kp RBRC &kp DLLR &kp EXCL &kp DQT &sym_copy &sym_tm &de_plus_str_tld &de_acute_grave &trans &trans &trans &trans &trans &kp LNLCK &kp EQUAL &kp N7 &kp N8 &kp N9 &kp PLUS &trans
&none &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &dv_qmark_ss &sym_sec &sym_reg &kp LPAR &kp RPAR &dv_slash &trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &kp STAR &kp N4 &kp N5 &kp N6 &kp MINUS &trans
&none &de_lt_mt_pipe &none &none &kp AT &sym_eur &kp PRCNT &sym_mu &kp AMPS &kp EQUAL &de_hash &kp MINUS &trans &trans &kp K_APP &kp TAB &kp BSPC &kp RET &kp N0 &kp N1 &kp N2 &kp N3 &kp FSLH &trans
&none &kp LSHFT &trans &trans &trans &none &none &trans &none &trans &none &none
>;
};
function {
bindings = <
&trans &kp C_STOP &kp C_PREV &kp C_PP &kp C_NEXT &kp C_BRI_UP &kp F12 &kp F7 &kp F8 &kp F9 &kp SLCK &bt BT_CLR
&trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &kp C_BRI_DN &kp F11 &kp F4 &kp F5 &kp F6 &bt BT_SEL 0 &bt BT_SEL 1
&none &kp C_MUTE &kp C_VOL_DN &kp LS(LC(C)) &kp C_VOL_UP &kp LC(LS(V)) &kp F10 &kp F1 &kp F2 &kp F3 &bt BT_SEL 2 &bt BT_SEL 3
&none &trans &to 0 &to 1 &trans &none
>;
};
number {
bindings = <
&trans &de_lt_mt_pipe &de_comma &de_dot &none &none &kp EQUAL &kp N7 &kp N8 &kp N9 &kp PLUS &kp BSPC
&trans &sk LALT &sk LGUI &sk LSHFT &sk LCTRL &sk RALT &kp STAR &kp N4 &kp N5 &kp N6 &kp MINUS &kp RET
&none &none &kp Y &kp TAB &kp BSPC &kp RET &kp N0 &kp N1 &kp N2 &kp N3 &kp FSLH &none
&none &trans &trans &trans &trans &none
>; >;
}; };
}; };