aboutsummaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/snowe/keycode_aliases.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/keymaps/snowe/keycode_aliases.h')
-rw-r--r--keyboards/crkbd/keymaps/snowe/keycode_aliases.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/snowe/keycode_aliases.h b/keyboards/crkbd/keymaps/snowe/keycode_aliases.h
new file mode 100644
index 000000000..bd70a79aa
--- /dev/null
+++ b/keyboards/crkbd/keymaps/snowe/keycode_aliases.h
@@ -0,0 +1,81 @@
1/*
2 * Copyright 2020 Drashna Jaelre <@drashna>
3 * Copyright 2021 Tyler Thrailkill <@snowe/@snowe2010>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#define GUI_ESC GUI_T(KC_ESC)
22#define CTL_ESC CTL_T(KC_ESC)
23#define SH_BKSP SFT_T(KC_BSPC)
24#define SP_RAIS LT(_UPPER, KC_SPC)
25
26#define LOWER MO(_LOWER)
27#define RAISE MO(_UPPER)
28#define ADJUST MO(_ADJUST)
29#define TG_MODS TG(_MODS)
30//#define TG_GAME TG(_GAMEPAD)
31//#define OS_LWR OSL(_LOWER)
32//#define OS_RSE OSL(_UPPER)
33
34//#define KC_SEC1 KC_SECRET_1
35//#define KC_SEC2 KC_SECRET_2
36//#define KC_SEC3 KC_SECRET_3
37//#define KC_SEC4 KC_SECRET_4
38//#define KC_SEC5 KC_SECRET_5
39
40#define QWERTY KC_QWERTY
41#define DVORAK KC_DVORAK
42#define COLEMAK KC_COLEMAK
43#define WORKMAN KC_WORKMAN
44
45#define KC_RESET RESET
46#define KC_RST KC_RESET
47
48#ifdef SWAP_HANDS_ENABLE
49# define KC_C1R3 SH_TT
50#else // SWAP_HANDS_ENABLE
51# define KC_C1R3 KC_BSPC
52#endif // SWAP_HANDS_ENABLE
53
54#define BK_LWER LT(_LOWER, KC_BSPC)
55#define SP_LWER LT(_LOWER, KC_SPC)
56#define DL_RAIS LT(_UPPER, KC_DEL)
57#define ET_RAIS LT(_UPPER, KC_ENTER)
58#define SFT_ENT SFT_T(KC_ENTER)
59#define SP_RAIS LT(_UPPER, KC_SPC)
60
61/* OSM keycodes, to keep things clean and easy to change */
62#define KC_MLSF OSM(MOD_LSFT)
63#define KC_MRSF OSM(MOD_RSFT)
64
65#define OS_LGUI OSM(MOD_LGUI)
66#define OS_RGUI OSM(MOD_RGUI)
67#define OS_LSFT OSM(MOD_LSFT)
68#define OS_RSFT OSM(MOD_RSFT)
69#define OS_LCTL OSM(MOD_LCTL)
70#define OS_RCTL OSM(MOD_RCTL)
71#define OS_LALT OSM(MOD_LALT)
72#define OS_RALT OSM(MOD_RALT)
73#define OS_MEH OSM(MOD_MEH)
74#define OS_HYPR OSM(MOD_HYPR)
75
76#define ALT_APP ALT_T(KC_APP)
77
78#define MG_NKRO MAGIC_TOGGLE_NKRO
79
80#define UC_IRNY UC(0x2E2E)
81#define UC_CLUE UC(0x203D)