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
This commit is contained in:
Drashna Jaelre
2018-10-01 18:00:14 -07:00
committed by Jack Humbert
parent f5ae3760c6
commit 1512a6bfd4
13 changed files with 639 additions and 66 deletions

View File

@ -230,7 +230,7 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
userspace_config.rgb_layer_change ^= 1;
xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change);
eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw);
eeprom_update_dword(EECONFIG_USERSPACE, userspace_config.raw);
if (userspace_config.rgb_layer_change) {
layer_state_set(layer_state); // This is needed to immediately set the layer color (looks better)
}
@ -243,7 +243,7 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record) {
if (userspace_config.rgb_layer_change) {
userspace_config.rgb_layer_change = false;
xprintf("rgblight layer change [EEPROM]: %u\n", userspace_config.rgb_layer_change);
eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw);
eeprom_update_dword(EECONFIG_USERSPACE, userspace_config.raw);
}
}
return true; break;
@ -273,6 +273,7 @@ void matrix_init_rgb(void) {
default:
rgblight_sethsv_noeeprom_cyan(); break;
}
rgblight_mode_noeeprom(1);
}
}