summaryrefslogtreecommitdiffstats
path: root/users/ridingqwerty/process_records.h
diff options
context:
space:
mode:
authorridingqwerty <george.g.koenig@gmail.com>2019-08-16 19:54:16 -0400
committerDrashna Jaelre <drashna@live.com>2019-08-16 16:54:16 -0700
commit0c03811d6affb31d9952e9b4c9c0f5e10fddee8a (patch)
tree25e10a61ed0e40ee7852fc9bcdc2f1571b288fa1 /users/ridingqwerty/process_records.h
parent36dd261d06e86ed90997486776f06b286a163cd8 (diff)
[Keymap] add "ridingqwerty" user and keymap for atreus keyboard (#6533)
* add userspace and atreus keymap * cleaning up notes/comments * Update keyboards/atreus/keymaps/ridingqwerty/atreus.c Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/atreus/keymaps/ridingqwerty/atreus.c Co-Authored-By: Joel Challis <git@zvecr.com> * Create readme.md * remove reference to matrix_init_kb from atreus.c * correct atreus.c * remove unnecessary defines * merge register/unregister sequence into single tapcode * move 'LAYOUT to keymap.c; remove atreus.h * remove TAPPING_TERM from keyboard-level config.h
Diffstat (limited to 'users/ridingqwerty/process_records.h')
-rw-r--r--users/ridingqwerty/process_records.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/users/ridingqwerty/process_records.h b/users/ridingqwerty/process_records.h
new file mode 100644
index 0000000000..2c453bcd93
--- /dev/null
+++ b/users/ridingqwerty/process_records.h
@@ -0,0 +1,29 @@
+#pragma once
+#include "ridingqwerty.h"
+
+#if defined(KEYMAP_SAFE_RANGE)
+ #define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
+#else
+ #define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
+#endif
+
+bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
+bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
+
+enum userspace_custom_keycodes {
+ FIRST = PLACEHOLDER_SAFE_RANGE,
+ RUSTY,
+ FUEL,
+ C0RE,
+ MUNKY,
+ AR1ST,
+ VAXIS,
+ OS_LAB,
+ CDLOCAL,
+ SYSNOC,
+ RG_QUOT,
+ LAST
+};
+
+bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
+bool process_record_keymap(uint16_t keycode, keyrecord_t *record);