diff options
author | Drashna Jaelre <[email protected]> | 2018-05-31 22:11:06 -0700 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2018-06-01 01:11:06 -0400 |
commit | 3d1349b280d9c0a57e37b5347a405426de6dba10 (patch) | |
tree | 0b8c989d0c902115e2ce51c8bb9dc201b0e2eb0c /users/drashna/rgb_stuff.h | |
parent | 8eaf23ae8146766615cc1cec3fc8e04111e8ef49 (diff) | |
download | qmk_firmware-3d1349b280d9c0a57e37b5347a405426de6dba10.tar.gz qmk_firmware-3d1349b280d9c0a57e37b5347a405426de6dba10.zip |
Big overhaul to Drashna keymaps and userspace (#3097)
* Optimize secrets code
* Orthodox tweaks
* rules.mk features
* Minor cleanup
* Revert mod bits
* Force Hold breaks One Shot Tap Toggle
* Cleanup
* Moke keymaps more consistent
* minor ergodox tweak
* More OSM for the Orthodox
* Cleanup of userspace
* Toggle Secrets
* Add hidden process record for super secret macros
* Make sure secret macros always compiles
* finish up making them super secret
* Add ColinTA's rgb twinkle as WIP
* Optimize RGB Twinkling for typing
Also, tweak RGB indicators.
AND WTF, I HAVE NO IDEA WHY THE INDICATORS ONLY WORK AS IS. The logical method for getting them working doesn't ... and it's beyond bizarre
* Make console logging more configurable
* Indicator travisty
* Clean up userspace rgb code
* Optimize RGB Twinking to work on default layer only, and to base it's color on the curent hue
* Eff it... rgblight_sethsv_at runs at every matrix scan
* RGB Twinkle cleanup
* Update Iris code for new board
* Move RGB Indicator and RGB Twinkle into userspace
* Move RGB Indicator code to rgb_stuff.c
* Major cleanup of RGB Code in userspace
* Additional cleanup of RGB code in userspace
* Use noeeprom functions to save my boards!
* Enable RGB Sleep on all boards now
* Add old iris board
* tapping tweak
* Use byte 19 for eeprom to prepare for possible merge of eeconfig function pr
* Add code to fix default layer after eeprom reset
Diffstat (limited to 'users/drashna/rgb_stuff.h')
-rw-r--r-- | users/drashna/rgb_stuff.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/users/drashna/rgb_stuff.h b/users/drashna/rgb_stuff.h new file mode 100644 index 0000000000..6426ea266f --- /dev/null +++ b/users/drashna/rgb_stuff.h @@ -0,0 +1,16 @@ +#include "quantum.h" + +typedef struct { + bool enabled; + uint8_t hue; + uint16_t timer; + uint8_t life; +} rgblight_fadeout; + +bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record); +void scan_rgblight_fadeout(void); +void matrix_init_rgb(void); +void matrix_scan_rgb(void); +uint32_t layer_state_set_rgb(uint32_t state); + + |