]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/snowkuma/custom_keycodes.h
[Keymap] snowkuma Planck keymap (#6225)
[qmk_firmware.git] / keyboards / planck / keymaps / snowkuma / custom_keycodes.h
1 // These definitions are for convenience.
2 // It is not wise to put sensitive information here such as passwords
3 // as anyone with access to your keyboard will be able to use them!
4
5 // magnet keycodes
6 #define M_LEFT LCA(KC_LEFT)
7 #define M_TOP LCA(KC_UP)
8 #define M_BOTT LCA(KC_DOWN)
9 #define M_RGHT LCA(KC_RGHT)
10
11 #define M_TOPL LCA(KC_U)
12 #define M_TOPR LCA(KC_I)
13 #define M_BOTL LCA(KC_J)
14 #define M_BOTR LCA(KC_K)
15
16 #define M_L13 LCA(KC_D)
17 #define M_L23 LCA(KC_E)
18 #define M_C13 LCA(KC_F)
19 #define M_R23 LCA(KC_T)
20 #define M_R13 LCA(KC_G)
21
22 #define M_NEXT LCAG(KC_RGHT)
23 #define M_PREV LCAG(KC_LEFT)
24
25 #define M_MAX LCA(KC_ENT)
26 #define M_CEN LCA(KC_C)
27 #define M_REST LCA(KC_BSPC)
28
29 // Shortcuts
30 #define INPUT_L LCAG(KC_SPC)
31 #define TXT_PLS LGUI(KC_PLUS)
32 #define TXT_MIN LGUI(KC_MINS)
33 #define SC_CAPF LGUI(LSFT(KC_3))  // Capture the full screen to file
34 #define SC_CAPP LGUI(LSFT(KC_4))  // Capture portion of screen to file
35  
36 // Special Layer keycodes
37 #define ESC_NUM LT(_NUMBER, KC_ESC)
38 #define BSP_REG LT(_REGEX, KC_BSPC)
39 #define DEL_REG LT(_REGEX, KC_DEL)
40 #define MIN_ARR LT(_ARRANGE, KC_MINS)
41 #define TAB_SFT LSFT_T(KC_TAB)
42 #define SPC_SYM LT(_SYMBOL, KC_SPC)
43 #define ENT_THU LT(_THUMB, KC_ENT)
44 #define FUN_L MO(_FUNCTION)
45
46 // HOMEROW SHIFT
47 #define T_SFT LSFT_T(KC_T)
48 #define N_SFT RSFT_T(KC_N)
49
50 // Special Characters
51 #define GBP LALT(KC_3)
52 #define EURO LALT(S(KC_2))
53
54 // Modifier tap holds
55 #define Q_CTL LCTL_T(KC_Q)
56 #define W_ALT LALT_T(KC_W)
57 #define F_GUI LGUI_T(KC_F)
58 #define U_GUI LGUI_T(KC_U)
59 #define Y_ALT LALT_T(KC_Y)
60 #define SCL_CTL LCTL_T(KC_SCLN)