aboutsummaryrefslogtreecommitdiff
path: root/users/xulkal/custom_keycodes.h
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-07-25 13:56:29 -0500
committerDrashna Jaelre <drashna@live.com>2019-07-25 11:56:29 -0700
commit20c0533c4c66b9d222b6ced2fad3ec6be6cad76e (patch)
tree2cceb641e573cafeb6ee68f5083fb532ab80cd93 /users/xulkal/custom_keycodes.h
parenta747953dfae85d3bdfdfe205fc3d4ae6f8d1fe05 (diff)
downloadqmk_firmware-20c0533c4c66b9d222b6ced2fad3ec6be6cad76e.tar.gz
qmk_firmware-20c0533c4c66b9d222b6ced2fad3ec6be6cad76e.zip
[User] Xulkal Keymaps Update (#6392)
* Xulkal changes Refactor rgb & encoder menu Hadron Keymap Refactor oled menu * Fixing horizontal OLED data display * Reverting changes to take to separate prs
Diffstat (limited to 'users/xulkal/custom_keycodes.h')
-rw-r--r--users/xulkal/custom_keycodes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/xulkal/custom_keycodes.h b/users/xulkal/custom_keycodes.h
index d4ae0bd47..7ced92bf4 100644
--- a/users/xulkal/custom_keycodes.h
+++ b/users/xulkal/custom_keycodes.h
@@ -10,6 +10,9 @@ enum custom_keycodes {
10 TD_DOT, 10 TD_DOT,
11 TD_MAX, 11 TD_MAX,
12#endif 12#endif
13#ifdef ENCODER_ENABLE
14 RGB_ENC,
15#endif
13 KEYMAP_SAFE_RANGE 16 KEYMAP_SAFE_RANGE
14}; 17};
15 18
@@ -26,3 +29,12 @@ enum custom_keycodes {
26 29
27#define LOWER MO(_LOWER) 30#define LOWER MO(_LOWER)
28#define RAISE MO(_RAISE) 31#define RAISE MO(_RAISE)
32
33
34#ifdef ENCODER_ENABLE
35#define KC_ENC1 RGB_ENC
36#define KC_ENC2 KC_MPLY
37#else
38#define KC_ENC1 RGB_RMOD
39#define KC_ENC2 RGB_MOD
40#endif