diff options
| author | XScorpion2 <rcalt2vt@gmail.com> | 2019-06-01 16:39:31 -0500 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-06-01 14:39:31 -0700 |
| commit | 4f788c2ae90583f64e0cec6545a3da75a5aff0f8 (patch) | |
| tree | fa7f8583fca9839d2c5f3f8b6c5822569c649929 /users/xulkal/custom_keycodes.h | |
| parent | 02b3fadbac6c68940e1bf141397d5d7cb87a6928 (diff) | |
| download | qmk_firmware-4f788c2ae90583f64e0cec6545a3da75a5aff0f8.tar.gz qmk_firmware-4f788c2ae90583f64e0cec6545a3da75a5aff0f8.zip | |
[Keymap] Xulkal user changes (#6044)
* Xulkal user changes
Xulkal user changes
* Reduce code duplication
* Massive user code refactor
Diffstat (limited to 'users/xulkal/custom_keycodes.h')
| -rw-r--r-- | users/xulkal/custom_keycodes.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/users/xulkal/custom_keycodes.h b/users/xulkal/custom_keycodes.h new file mode 100644 index 000000000..d4ae0bd47 --- /dev/null +++ b/users/xulkal/custom_keycodes.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | enum custom_keycodes { | ||
| 4 | RGBRST = SAFE_RANGE, | ||
| 5 | #ifndef TAP_DANCE_ENABLE | ||
| 6 | TD_MIN, | ||
| 7 | TD_COMM = TD_MIN, | ||
| 8 | TD_BSPC, | ||
| 9 | TD_DEL, | ||
| 10 | TD_DOT, | ||
| 11 | TD_MAX, | ||
| 12 | #endif | ||
| 13 | KEYMAP_SAFE_RANGE | ||
| 14 | }; | ||
| 15 | |||
| 16 | #define RIS_ESC LT(_RAISE, KC_ESC) | ||
| 17 | #define RIS_CAPS LT(_RAISE, KC_CAPS) | ||
| 18 | |||
| 19 | #define QWERTY DF(_QWERTY) | ||
| 20 | |||
| 21 | #ifndef GAMELAYER_DISABLE | ||
| 22 | #define GAME DF(_GAME) | ||
| 23 | #else | ||
| 24 | #define GAME KC_TRANSPARENT | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define LOWER MO(_LOWER) | ||
| 28 | #define RAISE MO(_RAISE) | ||
