diff options
author | Ryan Caltabiano <rcalt2vt@gmail.com> | 2019-02-28 21:20:26 -0600 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-16 18:30:54 -0700 |
commit | 86855f4417a3793b1e33a8288f2755b782ef3228 (patch) | |
tree | 96ca64a3b207ec8a982e7bbafb1b9d59360ce337 /users/xulkal/process_records.h | |
parent | 416eb1dee7163ae7456e5b2288a2b67790b997c3 (diff) | |
download | qmk_firmware-86855f4417a3793b1e33a8288f2755b782ef3228.tar.gz |
Xulkal Keymaps
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 @@ +#pragma once +#include "quantum.h" + +#define RIS_ESC LT(_RAISE, KC_ESC) +#define RIS_CAPS LT(_RAISE, KC_CAPS) + +#ifdef TAP_DANCE_ENABLE +#include "process_tap_dance.h" + +//Tap Dance Declarations +enum { + COMM_QUOT = 0, + BACKSPACE, + TAP_TAB, + CTRL_MINUS, + CTRL_PLUS +}; + +#define TD_COMM TD(COMM_QUOT) +#define TD_BSPC TD(BACKSPACE) +#define TD_TAB TD(TAP_TAB) +#define TD_LCTL TD(CTRL_MINUS) +#define TD_RCTL TD(CTRL_PLUS) +#else +#define TD_COMM KC_COMM +#define TD_BSPC KC_BSPACE +#define TD_TAB KC_TAB +#define TD_LCTL KC_LCTL +#define TD_RCTL KC_RCTL +#endif + +enum layer_number { + _QWERTY = 0, + _GAME, + _LOWER, + _RAISE, + _ADJUST +}; + +enum custom_keycodes { + QWERTY = SAFE_RANGE, + GAME, + LOWER, + RAISE, + RGBRST +}; + +bool process_record_keymap(uint16_t keycode, keyrecord_t *record); +bool process_record_rgb(uint16_t keycode, keyrecord_t *record); |