diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-10-01 18:00:14 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-01 21:00:14 -0400 |
| commit | 1512a6bfd48fb75619a1f77394d41bdca7ea28b1 (patch) | |
| tree | 54aea79710b4101b9fce20d4ff43d60eda24242b /users/drashna/rgb_stuff.c | |
| parent | f5ae3760c6be7e927fba74aca4a0cf21a44113af (diff) | |
| download | qmk_firmware-1512a6bfd48fb75619a1f77394d41bdca7ea28b1.tar.gz qmk_firmware-1512a6bfd48fb75619a1f77394d41bdca7ea28b1.zip | |
Keymap: Update to drashna keymaps and userspace (#3992)
* Enabled unicode support and send_unicode function
* Unicode cleanup
* More unicode tweaking
* Update EEPROM stuff
* Account for keyboard macros
* Switch Equal to Plus on Ergodox
* more tweaks
* Minor Unicode tweaks
* Correct matrix printing for keylogger
* Fix unicode functions
* Fix unicode mode set since it actually uses EEPROM
* Re-add DISABLE_LEADER
* Ergodox is easier to hit the tapping term, fix that
* Fix stupid type on unicode mode check
* Preliminary CRKBD/HeliDox support
* Fixes to Helidox
* Cleanup userspace from old merge stuff
* Remove CCCV sounds
* Make Mode NOEEPROM Again
Diffstat (limited to 'users/drashna/rgb_stuff.c')
| -rw-r--r-- | users/drashna/rgb_stuff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/users/drashna/rgb_stuff.c b/users/drashna/rgb_stuff.c index 03c55b132..4a1a8de69 100644 --- a/users/drashna/rgb_stuff.c +++ b/users/drashna/rgb_stuff.c | |||
| @@ -230,7 +230,7 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record) { | |||
| 230 | if (record->event.pressed) { | 230 | if (record->event.pressed) { |
| 231 | userspace_config.rgb_layer_change ^= 1; | 231 | userspace_config.rgb_layer_change ^= 1; |
| 232 | xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change); | 232 | xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change); |
| 233 | eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw); | 233 | eeprom_update_dword(EECONFIG_USERSPACE, userspace_config.raw); |
| 234 | if (userspace_config.rgb_layer_change) { | 234 | if (userspace_config.rgb_layer_change) { |
| 235 | layer_state_set(layer_state); // This is needed to immediately set the layer color (looks better) | 235 | layer_state_set(layer_state); // This is needed to immediately set the layer color (looks better) |
| 236 | } | 236 | } |
| @@ -243,7 +243,7 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record) { | |||
| 243 | if (userspace_config.rgb_layer_change) { | 243 | if (userspace_config.rgb_layer_change) { |
| 244 | userspace_config.rgb_layer_change = false; | 244 | userspace_config.rgb_layer_change = false; |
| 245 | xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change); | 245 | xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change); |
| 246 | eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw); | 246 | eeprom_update_dword(EECONFIG_USERSPACE, userspace_config.raw); |
| 247 | } | 247 | } |
| 248 | } | 248 | } |
| 249 | return true; break; | 249 | return true; break; |
| @@ -273,6 +273,7 @@ void matrix_init_rgb(void) { | |||
| 273 | default: | 273 | default: |
| 274 | rgblight_sethsv_noeeprom_cyan(); break; | 274 | rgblight_sethsv_noeeprom_cyan(); break; |
| 275 | } | 275 | } |
| 276 | rgblight_mode_noeeprom(1); | ||
| 276 | } | 277 | } |
| 277 | } | 278 | } |
| 278 | 279 | ||
