mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-23 02:10:25 +01:00
Compare commits
2 commits
73e2a418cd
...
b13328d198
Author | SHA1 | Date | |
---|---|---|---|
b13328d198 | |||
88cb81ed6a |
1 changed files with 16 additions and 46 deletions
|
@ -25,6 +25,7 @@ ZMK_UNICODE_PAIR(win_euro, N2, N0, A, C, N0, N0, B, N0) // euro sign and degree
|
||||||
ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define BASE 0
|
#define BASE 0
|
||||||
#define SYM 1
|
#define SYM 1
|
||||||
#define NAV 2
|
#define NAV 2
|
||||||
|
@ -46,41 +47,9 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
then-layer = <META>;
|
then-layer = <META>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
macros {
|
/ {
|
||||||
word_test1: word_test1 {
|
|
||||||
label = "Test1";
|
|
||||||
compatible = "zmk,behavior-macro";
|
|
||||||
#binding-cells = <0>;
|
|
||||||
wait-ms = <5>;
|
|
||||||
tap-ms = <5>;
|
|
||||||
bindings = <¯o_tap &kp T &kp O &kp K &kp I>;
|
|
||||||
};
|
|
||||||
word_test2: word_test2 {
|
|
||||||
label = "Test2";
|
|
||||||
compatible = "zmk,behavior-macro";
|
|
||||||
#binding-cells = <0>;
|
|
||||||
wait-ms = <5>;
|
|
||||||
tap-ms = <5>;
|
|
||||||
bindings = <¯o_tap &kp P &kp O &kp N &kp A>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
// home row key positions are 10 11 12 13 -- 16 17 18 19
|
|
||||||
combos {
|
|
||||||
compatible = "zmk,combos";
|
|
||||||
combo_toki_a {
|
|
||||||
key-positions = <10 11>;
|
|
||||||
bindings = <&word_test1>;
|
|
||||||
layers = <TOKI>;
|
|
||||||
};
|
|
||||||
combo_toki_b {
|
|
||||||
key-positions = <10 11 12>;
|
|
||||||
bindings = <&word_test2>;
|
|
||||||
layers = <TOKI>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
behaviors {
|
behaviors {
|
||||||
esctab: shift_esc_tab {
|
esctab: shift_esc_tab {
|
||||||
compatible = "zmk,behavior-mod-morph";
|
compatible = "zmk,behavior-mod-morph";
|
||||||
|
@ -103,13 +72,15 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
label = "GLOBAL_QUICK_TAP";
|
label = "GLOBAL_QUICK_TAP";
|
||||||
#binding-cells = <2>;
|
#binding-cells = <2>;
|
||||||
flavor = "tap-preferred";
|
flavor = "tap-preferred";
|
||||||
tapping-term-ms = <400>;
|
tapping-term-ms = <200>;
|
||||||
quick-tap-ms = <250>;
|
quick-tap-ms = <125>;
|
||||||
global-quick-tap;
|
global-quick-tap;
|
||||||
bindings = <&kp>, <&kp>;
|
bindings = <&kp>, <&kp>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/ {
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,keymap";
|
compatible = "zmk,keymap";
|
||||||
l_base {
|
l_base {
|
||||||
|
@ -132,10 +103,10 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
// F keys + navigation
|
// F keys + navigation
|
||||||
l_nav {
|
l_nav {
|
||||||
bindings = <
|
bindings = <
|
||||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp PG_UP &kp HOME &kp UP &kp END &kp PSCRN
|
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp PG_UP &kp HOME &kp UP &kp END &kp PSCRN
|
||||||
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp K_CMENU
|
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp K_CMENU
|
||||||
&trans &kp F11 &kp F12 &kp F13 &kp F14 &kp F15 &kp F16 &kp F17 &kp F18 &trans
|
&trans &kp F11 &kp F12 &kp F13 &kp F14 &kp F15 &kp F16 &kp F17 &kp F18 &trans
|
||||||
&trans &trans &trans &trans &trans &trans
|
&kp SPACE &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
// media + bluetooth + layer toggles + numpad
|
// media + bluetooth + layer toggles + numpad
|
||||||
|
@ -147,13 +118,13 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
&trans &trans &trans &trans &trans &kp KP_ENTER
|
&trans &trans &trans &trans &trans &kp KP_ENTER
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
// toki pona steno
|
// toki pona
|
||||||
l_toki {
|
l_toki {
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &none &none &none &none &tog TOKI &none &none &none &none
|
&trans &kp P &kp W &kp U &none &tog TOKI &kp E &kp S &kp J &trans
|
||||||
&kp A &kp A &kp A &kp A &none &none &kp A &kp A &kp A &kp A
|
&kp N &kp L &kp I &kp A &none &none &kp O &kp T &kp M &kp K
|
||||||
&trans &none &none &none &none &none &none &none &none &trans
|
&trans &none &kp QMARK &kp EXCL &none &none &kp DOT &kp COMMA &none &none
|
||||||
&kp SPACE &trans &trans &none &none &trans
|
&trans &none &trans &none &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
// game compatibility / half qwerty
|
// game compatibility / half qwerty
|
||||||
|
@ -174,7 +145,6 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
&trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
// unicode macros for symbol layer in windows mode
|
|
||||||
l_win_unicode {
|
l_win_unicode {
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &trans &trans &trans &win_euro &win_multi_o &win_ao &win_ae &win_oe &trans
|
&trans &trans &trans &trans &win_euro &win_multi_o &win_ao &win_ae &win_oe &trans
|
||||||
|
|
Loading…
Reference in a new issue