mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-10 04:00:26 +01:00
add game layer
This commit is contained in:
parent
173d1c46c9
commit
9711241a71
1 changed files with 12 additions and 2 deletions
|
@ -10,7 +10,8 @@
|
||||||
#define L1 1
|
#define L1 1
|
||||||
#define L2 2
|
#define L2 2
|
||||||
#define L3 3
|
#define L3 3
|
||||||
#define L4 4
|
#define TOKI 4
|
||||||
|
#define GAME 5
|
||||||
|
|
||||||
ZMK_UNICODE_SINGLE(multi_o, A, N6, N6, E) // multiocular o
|
ZMK_UNICODE_SINGLE(multi_o, A, N6, N6, E) // multiocular o
|
||||||
|
|
||||||
|
@ -80,7 +81,7 @@ ZMK_UNICODE_SINGLE(multi_o, A, N6, N6, E) // multiocular o
|
||||||
// media + bluetooth + future layer toggles
|
// media + bluetooth + future layer toggles
|
||||||
layer_3 {
|
layer_3 {
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &none &none &none &tog L4 &kp C_BRI_UP &kp C_PREV &kp C_NEXT &kp C_VOL_UP &trans
|
&trans &none &none &tog GAME &tog TOKI &kp C_BRI_UP &kp C_PREV &kp C_NEXT &kp C_VOL_UP &trans
|
||||||
&none &none &none &none &none &kp C_BRI_DN &kp C_PLAY &kp C_PAUSE &kp C_VOL_DN &multi_o
|
&none &none &none &none &none &kp C_BRI_DN &kp C_PLAY &kp C_PAUSE &kp C_VOL_DN &multi_o
|
||||||
&trans &none &bt BT_SEL 0 &bt BT_NXT &bt BT_CLR &none &none &none &none &trans
|
&trans &none &bt BT_SEL 0 &bt BT_NXT &bt BT_CLR &none &none &none &none &trans
|
||||||
&trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans
|
||||||
|
@ -95,5 +96,14 @@ ZMK_UNICODE_SINGLE(multi_o, A, N6, N6, E) // multiocular o
|
||||||
&trans &trans &none &none &trans &trans
|
&trans &trans &none &none &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
// game compatibility / half qwerty
|
||||||
|
l_game {
|
||||||
|
bindings = <
|
||||||
|
&kp ESC &kp Q &kp W &kp E &kp R &none &none &kp UP &none &kp BSPC
|
||||||
|
&kp LSHFT &kp A &kp S &kp D &kp F &none &kp LEFT &kp DOWN &kp RIGHT &none
|
||||||
|
&kp LCTRL &kp Z &kp X &kp C &kp V &none &none &none &none &none
|
||||||
|
&kp LALT &kp SPACE &to L0 &to L0 &none &kp RET
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue