summaryrefslogtreecommitdiffstats
path: root/users/xulkal/custom_keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/xulkal/custom_keycodes.h')
-rw-r--r--users/xulkal/custom_keycodes.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/users/xulkal/custom_keycodes.h b/users/xulkal/custom_keycodes.h
new file mode 100644
index 0000000000..d4ae0bd477
--- /dev/null
+++ b/users/xulkal/custom_keycodes.h
@@ -0,0 +1,28 @@
+#pragma once
+
+enum custom_keycodes {
+ RGBRST = SAFE_RANGE,
+#ifndef TAP_DANCE_ENABLE
+ TD_MIN,
+ TD_COMM = TD_MIN,
+ TD_BSPC,
+ TD_DEL,
+ TD_DOT,
+ TD_MAX,
+#endif
+ KEYMAP_SAFE_RANGE
+};
+
+#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)