]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - users/xulkal/process_records.h
[Keymap] Update Xulkal user code (#5920)
[qmk_firmware.git] / users / xulkal / process_records.h
index d79ab7e32b9a5446464be9a8747474a3406fbcda..8a195df5cd3b5310f706e0c429635aaa6f45286f 100644 (file)
@@ -4,6 +4,17 @@
 #define RIS_ESC  LT(_RAISE, KC_ESC)
 #define RIS_CAPS LT(_RAISE, KC_CAPS)
 
+#define QWERTY DF(_QWERTY)
+
+#ifndef GAMELAYER_DISABLE
+#define GAME DF(_GAME)
+#else
+#define GAME KC_TRANSPARENT
+#endif
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
+
 #ifdef TAP_DANCE_ENABLE
 #include "process_tap_dance.h"
 
@@ -42,12 +53,7 @@ enum layer_number {
 };
 
 enum custom_keycodes {
-  QWERTY = SAFE_RANGE,
-  GAME,
-  LOWER,
-  RAISE,
-  RGBRST
+  RGBRST = SAFE_RANGE
 };
 
 bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
-bool process_record_rgb(uint16_t keycode, keyrecord_t *record);