summaryrefslogtreecommitdiff
path: root/users/kageurufu/process_records.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/kageurufu/process_records.h')
-rw-r--r--users/kageurufu/process_records.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/users/kageurufu/process_records.h b/users/kageurufu/process_records.h
new file mode 100644
index 0000000000..d1c50a4112
--- /dev/null
+++ b/users/kageurufu/process_records.h
@@ -0,0 +1,27 @@
+#pragma once
+#include "kageurufu.h"
+
+#define FN_ESC LT(_FN, KC_ESC)
+#define FN MO(_FN)
+#define ADJ MO(_ADJ)
+
+enum layer_number {
+ _QWERTY = 0,
+ _COLEMAK,
+ _COLEMAK_DH,
+ _FN,
+ _ADJ,
+ ADDITIONAL_LAYER
+};
+
+enum custom_keycodes {
+ QWERTY = SAFE_RANGE,
+ COLEMAK,
+ CMAK_DH,
+ RGBRST,
+ KAGEURUFU_SAFE_RANGE
+};
+
+
+bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
+bool process_record_rgb(uint16_t keycode, keyrecord_t *record);