diff options
Diffstat (limited to 'users/xulkal/process_records.h')
| -rw-r--r-- | users/xulkal/process_records.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/users/xulkal/process_records.h b/users/xulkal/process_records.h new file mode 100644 index 000000000..9e4295380 --- /dev/null +++ b/users/xulkal/process_records.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | #pragma once | ||
| 2 | #include "quantum.h" | ||
| 3 | |||
| 4 | #define RIS_ESC LT(_RAISE, KC_ESC) | ||
| 5 | #define RIS_CAPS LT(_RAISE, KC_CAPS) | ||
| 6 | |||
| 7 | #ifdef TAP_DANCE_ENABLE | ||
| 8 | #include "process_tap_dance.h" | ||
| 9 | |||
| 10 | //Tap Dance Declarations | ||
| 11 | enum { | ||
| 12 | COMM_QUOT = 0, | ||
| 13 | BACKSPACE, | ||
| 14 | TAP_TAB, | ||
| 15 | CTRL_MINUS, | ||
| 16 | CTRL_PLUS | ||
| 17 | }; | ||
| 18 | |||
| 19 | #define TD_COMM TD(COMM_QUOT) | ||
| 20 | #define TD_BSPC TD(BACKSPACE) | ||
| 21 | #define TD_TAB TD(TAP_TAB) | ||
| 22 | #define TD_LCTL TD(CTRL_MINUS) | ||
| 23 | #define TD_RCTL TD(CTRL_PLUS) | ||
| 24 | #else | ||
| 25 | #define TD_COMM KC_COMM | ||
| 26 | #define TD_BSPC KC_BSPACE | ||
| 27 | #define TD_TAB KC_TAB | ||
| 28 | #define TD_LCTL KC_LCTL | ||
| 29 | #define TD_RCTL KC_RCTL | ||
| 30 | #endif | ||
| 31 | |||
| 32 | enum layer_number { | ||
| 33 | _QWERTY = 0, | ||
| 34 | _GAME, | ||
| 35 | _LOWER, | ||
| 36 | _RAISE, | ||
| 37 | _ADJUST | ||
| 38 | }; | ||
| 39 | |||
| 40 | enum custom_keycodes { | ||
| 41 | QWERTY = SAFE_RANGE, | ||
| 42 | GAME, | ||
| 43 | LOWER, | ||
| 44 | RAISE, | ||
| 45 | RGBRST | ||
| 46 | }; | ||
| 47 | |||
| 48 | bool process_record_keymap(uint16_t keycode, keyrecord_t *record); | ||
| 49 | bool process_record_rgb(uint16_t keycode, keyrecord_t *record); | ||
