summaryrefslogtreecommitdiffstats
path: root/users/xulkal/process_records.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/xulkal/process_records.h')
-rw-r--r--users/xulkal/process_records.h42
1 files changed, 5 insertions, 37 deletions
diff --git a/users/xulkal/process_records.h b/users/xulkal/process_records.h
index 9e42953809..701ef7e74f 100644
--- a/users/xulkal/process_records.h
+++ b/users/xulkal/process_records.h
@@ -1,49 +1,17 @@
#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
+#include "custom_tap_dance.h"
enum layer_number {
_QWERTY = 0,
+#ifndef GAMELAYER_DISABLE
_GAME,
+#endif
_LOWER,
_RAISE,
+#ifdef TRILAYER_ENABLED
_ADJUST
-};
-
-enum custom_keycodes {
- QWERTY = SAFE_RANGE,
- GAME,
- LOWER,
- RAISE,
- RGBRST
+#endif
};
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
-bool process_record_rgb(uint16_t keycode, keyrecord_t *record);