disable last two keymaps

This commit is contained in:
Kabbone 2022-03-12 16:51:54 +01:00
parent 114e69d6e1
commit 4519824149
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
1 changed files with 85 additions and 87 deletions

View File

@ -12,13 +12,12 @@
&mt {
flavor = "tap-preferred";
tapping_term_ms = <200>;
};
/* &sk {
* quick-release;
* release-after-ms = <2000>;
*};
*
*/
};
&sk {
quick-release;
release-after-ms = <2000>;
};
/* Layers */
#define ALPH 0
#define SYM 1
@ -26,58 +25,56 @@
#define SYS 3
#define BT 4
#define GAME 5
/*
* / {
*
* combos {
* compatible = "zmk,combos";
*
* combo_game {
* timeout-ms = <30>;
* key-positions = <0 1 2 3>;
* bindings = <&to GAME>;
* };
*
* combo_sys {
* timeout-ms = <30>;
* key-positions = <6 7 8>;
* bindings = <&to SYS>;
* };
*
* combo_bt {
* timeout-ms = <10>;
* key-positions = <13 14>;
* bindings = <&to BT>;
* layers = <SYS>;
* };
*
* combo_term {
* timeout-ms = <50>;
* key-positions = <30 33>;
* bindings = <&kp LG(ENTER)>;
* };
*
* combo_lenter {
* timeout-ms = <50>;
* key-positions = <30 19>;
* bindings = <&kp ENTER>;
* };
*
* combo_renter {
* timeout-ms = <50>;
* key-positions = <33 19>;
* bindings = <&kp ENTER>;
* };
*
* combo_layer0 {
* timeout-ms = <50>;
* key-positions = <31 32>;
* bindings = <&to 0>;
* };
*
*
* };
*/
/ {
combos {
compatible = "zmk,combos";
combo_game {
timeout-ms = <30>;
key-positions = <0 1 2 3>;
bindings = <&to GAME>;
};
combo_sys {
timeout-ms = <30>;
key-positions = <6 7 8>;
bindings = <&to SYS>;
};
combo_bt {
timeout-ms = <10>;
key-positions = <13 14>;
bindings = <&to BT>;
layers = <SYS>;
};
combo_term {
timeout-ms = <50>;
key-positions = <30 33>;
bindings = <&kp LG(ENTER)>;
};
combo_lenter {
timeout-ms = <50>;
key-positions = <30 19>;
bindings = <&kp ENTER>;
};
combo_renter {
timeout-ms = <50>;
key-positions = <33 19>;
bindings = <&kp ENTER>;
};
combo_layer0 {
timeout-ms = <50>;
key-positions = <31 32>;
bindings = <&to 0>;
};
};
behaviours {
hm: homerow_mods {
@ -98,17 +95,17 @@
flavor = "tap-preferred";
bindings = <&sl>, <&kp>;
};
/* sr: shift_layer {
* compatible = "zmk,behavior-hold-tap";
* label = "SHIFT_LAYER";
* #binding-cells = <2>;
* tapping-term-ms = <300>;
* quick_tap_ms = <0>;
* flavor = "tap-preferred";
* bindings = <&kp>, <&to>;
* retro-tap;
* };
*/
sr: shift_layer {
compatible = "zmk,behavior-hold-tap";
label = "SHIFT_LAYER";
#binding-cells = <2>;
tapping-term-ms = <300>;
quick_tap_ms = <0>;
flavor = "tap-preferred";
bindings = <&kp>, <&to>;
retro-tap;
};
};
keymap {
@ -150,23 +147,24 @@
>;
};
bluetooth {
bindings = <
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
&bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none
&none &to ALPH &to SYM &none
>;
};
gaming {
bindings = <
&kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none
&kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none
&kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none
&none &to ALPH &to SYM &none
>;
};
/* bluetooth {
* bindings = <
* &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none
* &none &none &none &none &none &none &none &none &none &none
* &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none
* &none &to ALPH &to SYM &none
* >;
* };
*
* gaming {
* bindings = <
* &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none
* &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none
* &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none
* &none &to ALPH &to SYM &none
* >;
* };
*/
};
};