diff options
author | kuchosauronad0 <22005492+kuchosauronad0@users.noreply.github.com> | 2019-10-29 22:52:24 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-10-29 22:52:24 -0700 |
commit | 674fcc474c162f44fadfa8a796134751d80ee639 (patch) | |
tree | 78fd0514eb6c2a6c686a6261802002fd5d04706e /users/kuchosauronad0/kuchosauronad0.c | |
parent | b1c2bf071bcfd0d5badf79656f523dd8f5146f25 (diff) |
[Keymap] Update to Userspace kuchosauronad0 (#6899)
* Add Plover layer, remove unused layers
* Add rgb indicator for success/failed sequences
* Add RGB effects
* Add RGB
* Add effects for start and end of a leader sequence
* Add PLOVER layer
* Add RGB
* Add RBG
* Minor clean up
* Minor clean up
* Minor clean up
* Minor clean up
* Rename rgb_light to rgblight_user and fix all references to it
* Remove unnecessary guards
Remove unnecessary matrix_scan in rgb post_init function
* remove trailing newline
Diffstat (limited to 'users/kuchosauronad0/kuchosauronad0.c')
-rw-r--r-- | users/kuchosauronad0/kuchosauronad0.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/users/kuchosauronad0/kuchosauronad0.c b/users/kuchosauronad0/kuchosauronad0.c index 21e74a0fae..6c38d0f106 100644 --- a/users/kuchosauronad0/kuchosauronad0.c +++ b/users/kuchosauronad0/kuchosauronad0.c @@ -19,10 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. userspace_config_t userspace_config; #if (defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE)) - #define KUCHOSAURONAD0_UNICODE_MODE UC_WINC +# define KUCHOSAURONAD0_UNICODE_MODE UC_WINC #else - // set to 2 for UC_WIN, set to 4 for UC_WINC - #define KUCHOSAURONAD0_UNICODE_MODE 2 +# define KUCHOSAURONAD0_UNICODE_MODE 2 // set to 2 for UC_WIN, set to 4 for UC_WINC #endif @@ -70,7 +69,7 @@ void shutdown_user (void) { #ifdef RGBLIGHT_ENABLE rgblight_enable_noeeprom(); rgblight_mode_noeeprom(1); - rgblight_setrgb_red(); + rgblight_setrgb_teal(); #endif // RGBLIGHT_ENABLE #ifdef RGB_MATRIX_ENABLE // uint16_t timer_start = timer_read(); @@ -108,11 +107,11 @@ void matrix_scan_user(void){ #ifdef TAP_DANCE_ENABLE // Run Diablo 3 macro checking code. // run_diablo_macro_check(); -#endif // TAP_DANCE_ENABLE +#endif // !TAP_DANCE_ENABLE #ifdef RGBLIGHT_ENABLE matrix_scan_rgb(); -#endif // RGBLIGHT_ENABLE +#endif // !RGBLIGHT_ENABLE matrix_scan_keymap(); } @@ -171,6 +170,8 @@ void eeconfig_init_user(void) { #else eeprom_update_byte(EECONFIG_UNICODEMODE, KUCHOSAURONAD0_UNICODE_MODE); #endif + eeconfig_init_keymap(); + keyboard_init(); } // TMUX stuff |