aboutsummaryrefslogtreecommitdiffstats
path: root/users/ridingqwerty/process_records.h
diff options
context:
space:
mode:
authorGravatar ridingqwerty <george.g.koenig@gmail.com>2020-02-04 14:17:10 -0500
committerGravatar GitHub <noreply@github.com>2020-02-04 20:17:10 +0100
commit964ed177165072572112abfbdbba3317ed13170c (patch)
tree676b31e86c0daa5dc64eed2c50241b84d43c904e /users/ridingqwerty/process_records.h
parent50554ca270ae4c58dfa156ae4960e06a7ec6ef31 (diff)
downloadqmk_firmware-964ed177165072572112abfbdbba3317ed13170c.tar.gz
ridingqwerty: userspace update (#8076)
* Userspace overhaul * Remove testing directory * Minorca keymap tweaks
Diffstat (limited to 'users/ridingqwerty/process_records.h')
-rw-r--r--users/ridingqwerty/process_records.h55
1 files changed, 42 insertions, 13 deletions
diff --git a/users/ridingqwerty/process_records.h b/users/ridingqwerty/process_records.h
index 2c453bcd9..47c5f6790 100644
--- a/users/ridingqwerty/process_records.h
+++ b/users/ridingqwerty/process_records.h
@@ -11,19 +11,48 @@ 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,
+ VERSION = PLACEHOLDER_SAFE_RANGE,
+ QWERTY,
+ DVORAK,
+ COLEMAK,
+#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE)
+ GREEK,
+ RUSSIAN,
+ RUNES,
+ HIRAGAN,
+#endif
+ MAKE,
RG_QUOT,
- LAST
+ TESTING,
+ RNGWORD,
+ CCCV,
+ SEED,
+ SARCASM,
+ VPRWAVE,
+ STRAYA,
+ SECRET0,
+ SECRET1,
+ SECRET2,
+ SECRET3,
+ SECRET4,
+ SECRET5,
+ SECRET6,
+ SECRET7,
+ SECRET8,
+ NEW_SAFE_RANGE // start new keyboard-level declarations with NEW_SAFE_RANGE
};
-bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
-bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
+// clang-format off
+typedef union {
+ struct {
+ uint8_t aesthetic : 1,
+ spongebob : 1,
+ uppercase : 1,
+ australia : 1,
+ unusued : 4;
+ };
+ uint8_t all;
+} mode_config_t;
+// clang-format on
+
+extern mode_config_t mode;