aboutsummaryrefslogtreecommitdiff
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.h44
1 files changed, 1 insertions, 43 deletions
diff --git a/users/xulkal/process_records.h b/users/xulkal/process_records.h
index 8a195df5c..701ef7e74 100644
--- a/users/xulkal/process_records.h
+++ b/users/xulkal/process_records.h
@@ -1,44 +1,6 @@
1#pragma once 1#pragma once
2#include "quantum.h" 2#include "quantum.h"
3 3#include "custom_tap_dance.h"
4#define RIS_ESC LT(_RAISE, KC_ESC)
5#define RIS_CAPS LT(_RAISE, KC_CAPS)
6
7#define QWERTY DF(_QWERTY)
8
9#ifndef GAMELAYER_DISABLE
10#define GAME DF(_GAME)
11#else
12#define GAME KC_TRANSPARENT
13#endif
14
15#define LOWER MO(_LOWER)
16#define RAISE MO(_RAISE)
17
18#ifdef TAP_DANCE_ENABLE
19#include "process_tap_dance.h"
20
21//Tap Dance Declarations
22enum {
23 COMM_QUOT = 0,
24 BACKSPACE,
25 TAP_TAB,
26 CTRL_MINUS,
27 CTRL_PLUS
28};
29
30#define TD_COMM TD(COMM_QUOT)
31#define TD_BSPC TD(BACKSPACE)
32#define TD_TAB TD(TAP_TAB)
33#define TD_LCTL TD(CTRL_MINUS)
34#define TD_RCTL TD(CTRL_PLUS)
35#else
36#define TD_COMM KC_COMM
37#define TD_BSPC KC_BSPACE
38#define TD_TAB KC_TAB
39#define TD_LCTL KC_LCTL
40#define TD_RCTL KC_RCTL
41#endif
42 4
43enum layer_number { 5enum layer_number {
44 _QWERTY = 0, 6 _QWERTY = 0,
@@ -52,8 +14,4 @@ enum layer_number {
52#endif 14#endif
53}; 15};
54 16
55enum custom_keycodes {
56 RGBRST = SAFE_RANGE
57};
58
59bool process_record_keymap(uint16_t keycode, keyrecord_t *record); 17bool process_record_keymap(uint16_t keycode, keyrecord_t *record);