From 9bfa713421ccd62fe49493b282d02310accf0523 Mon Sep 17 00:00:00 2001 From: Wilba Date: Tue, 7 Apr 2020 05:27:44 +1000 Subject: Configurable VIA layout options default value (#8707) --- quantum/via.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'quantum/via.h') diff --git a/quantum/via.h b/quantum/via.h index 012547e055..373843f901 100644 --- a/quantum/via.h +++ b/quantum/via.h @@ -37,6 +37,14 @@ # define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 1 #endif +// Allow override of the layout options default value. +// This requires advanced knowledge of how VIA stores layout options +// and is only really useful for setting a boolean layout option +// state to true by default. +#ifndef VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT +# define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00000000 +#endif + // The end of the EEPROM memory used by VIA // By default, dynamic keymaps will start at this if there is no // custom config -- cgit v1.2.3