summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2022-09-17 20:58:46 +0100
committerGitHub <noreply@github.com>2022-09-17 20:58:46 +0100
commitdb6a637398a64df343f8317cd1f25dd4268e6a16 (patch)
treeb8dfa1259ba04435bdb4e554ff44a109f9f08a1a /quantum
parentfb29c0ae53e32fb049516fcbe0f7863882ca9173 (diff)
Fix EECONFIG_KEYMAP_UPPER_BYTE init (#18394)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'quantum')
-rw-r--r--quantum/eeconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/eeconfig.c b/quantum/eeconfig.c
index 7c0431fd12..27a0f6d48f 100644
--- a/quantum/eeconfig.c
+++ b/quantum/eeconfig.c
@@ -46,7 +46,8 @@ void eeconfig_init_quantum(void) {
eeprom_update_byte(EECONFIG_DEFAULT_LAYER, 0);
default_layer_state = 0;
eeprom_update_byte(EECONFIG_KEYMAP_LOWER_BYTE, 0);
- eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, 0xC);
+ // Enable oneshot and autocorrect by default: 0b0001 0100
+ eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, 0x14);
eeprom_update_byte(EECONFIG_MOUSEKEY_ACCEL, 0);
eeprom_update_byte(EECONFIG_BACKLIGHT, 0);
eeprom_update_byte(EECONFIG_AUDIO, 0xFF); // On by default