forked from manna-harbour/miryoku_zmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_config.h
33 lines (27 loc) · 3.73 KB
/
custom_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2021 Manna Harbour
// https://github.com/manna-harbour/miryoku
#define MIRYOKU_LAYER_BASE \
&kp Q, &kp W, &kp F, &kp P, &kp B, &kp J, &kp L, &kp U, &kp Y, &kp SQT,\
U_HRML(LGUI, A), U_HRML(LALT, R), U_HRML(LCTRL, S), U_HRML(LSHFT, T), &kp G, &kp M, U_HRMR(LSHFT, N), U_HRMR(LCTRL, E), U_HRMR(LALT, I), U_HRMR(LGUI, O),\
U_LT(U_BUTTON, Z), U_HRML(RALT, X), &kp C, &kp D, &kp V, &kp K, &kp H, &kp COMMA, U_HRMR(RALT, DOT), U_LT(U_BUTTON, QMARK),\
U_NP, U_NP, U_LT(U_MEDIA, ESC),U_LT(U_NAV, SPACE),U_LT(U_MOUSE, TAB),U_LT(U_SYM, RET), U_LT(U_NUM, BSPC), U_LT(U_FUN, DEL), U_NP, U_NP
#define MIRYOKU_LAYER_NAV \
U_BOOT, &u_to_U_TAP, &u_to_U_EXTRA, &u_to_U_BASE, U_NA, &kp LS(H), &kp LS(J), &kp LS(K), &kp LS(L), U_NP,\
&kp LGUI, &kp LALT, &kp LCTRL, &kp LSHFT, U_CUT, &kp LEFT, &kp DOWN, &kp UP, &kp RIGHT, U_CPY,\
U_NA, &kp RALT, &u_to_U_NUM, &u_to_U_NAV, U_NA, &kp HOME, &kp PG_DN, &kp PG_UP, &kp END, U_PST,\
U_NP, U_NP, U_NA, U_NA, U_NA, &kp RET, &kp BSPC, &kp DEL, U_NP, U_NP
#define MIRYOKU_LAYER_MOUSE \
U_BOOT, &u_to_U_TAP, &u_to_U_EXTRA, &u_to_U_BASE, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND,\
&kp LGUI, &kp LALT, &kp LCTRL, &kp LSHFT, U_NA, U_MS_L, U_MS_D, U_MS_U, U_MS_R, U_NP,\
U_NA, &kp RALT, &u_to_U_SYM, &u_to_U_MOUSE, U_NA, U_WH_L, U_WH_D, U_WH_U, U_WH_R, U_NA,\
U_NP, U_NP, U_NA, U_NA, U_NA, U_BTN2, U_BTN1, U_BTN3, U_NP, U_NP
#define MIRYOKU_LAYER_MEDIA \
U_BOOT, &u_to_U_TAP, &u_to_U_EXTRA, &u_to_U_BASE, U_NA, &u_out_tog, &u_bt_sel_0, &u_bt_sel_1, &u_bt_sel_2, &u_bt_sel_3,\
&kp LGUI, &kp LALT, &kp LCTRL, &kp LSHFT, U_NA, U_RGB_TOG, &kp RA(W), &kp RA(Q), &kp RA(P), U_RGB_BRI,\
U_NA, &kp RALT, &u_to_U_FUN, &u_to_U_MEDIA, U_NA, &kp C_PREV, &kp C_VOL_DN, &kp C_VOL_UP, &kp C_NEXT, U_NA,\
U_NP, U_NP, U_NA, U_NA, U_NA, &kp C_STOP, &kp C_PP, &kp C_MUTE, U_NP, U_NP
#define MIRYOKU_LAYER_NUM \
&kp LBKT, &kp N7, &kp N8, &kp N9, &kp RBKT, &kp FSLH, &kp ASTRK, &kp MINUS, &kp PLUS, U_BOOT,\
&kp N0, &kp N4, &kp N5, &kp N6, &kp EQUAL, &kp ESC, &kp LSHFT, &kp LCTRL, &kp LALT, &kp LGUI,\
&kp GRAVE, &kp N1, &kp N2, &kp N3, &kp BSLH, U_NA, U_NA, &kp COMMA, &kp DOT, U_NA,\
U_NP, U_NP, U_LT(U_MEDIA, ESC),U_LT(U_NAV, SPACE),U_LT(U_MOUSE, TAB),U_LT(U_SYM, RET), U_LT(U_NUM, BSPC), U_LT(U_FUN, DEL), U_NP, U_NP