@ -65,6 +65,9 @@ void cycle_unicode_input_mode(void) {
unicode_input_mode_init(); // Init selected_index
selected_index = (selected_index + 1) % selected_count;
input_mode = selected[selected_index];
# if UNICODE_CYCLE_PERSIST
eeprom_update_byte(EECONFIG_UNICODEMODE, input_mode);
# endif
#endif
}
@ -25,6 +25,11 @@
#define UNICODE_SELECTED_MODES -1
// Whether input mode changes in cycle should be written to EEPROM
#ifndef UNICODE_CYCLE_PERSIST
#define UNICODE_CYCLE_PERSIST true
#ifndef UNICODE_TYPE_DELAY
#define UNICODE_TYPE_DELAY 10