aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hs60/v2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hs60/v2/config.h')
-rw-r--r--keyboards/hs60/v2/config.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/keyboards/hs60/v2/config.h b/keyboards/hs60/v2/config.h
index 02df0074c..91fdf6080 100644
--- a/keyboards/hs60/v2/config.h
+++ b/keyboards/hs60/v2/config.h
@@ -134,21 +134,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
134#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } 134#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
135#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } 135#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
136 136
137// TODO: refactor with new user EEPROM code (coming soon) 137// Backlight config starts after VIA's EEPROM usage,
138#define EEPROM_MAGIC 0x451F 138// dynamic keymaps start after this.
139#define EEPROM_MAGIC_ADDR 34 139#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 31
140// Bump this every time we change what we store 140
141// This will automatically reset the EEPROM with defaults
142// and avoid loading invalid data from the EEPROM
143#define EEPROM_VERSION 0x08
144#define EEPROM_VERSION_ADDR 36
145
146// Backlight config starts after EEPROM version
147#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
148// Dynamic keymap starts after backlight config (37+32)
149#define DYNAMIC_KEYMAP_EEPROM_ADDR 69
150#define DYNAMIC_KEYMAP_LAYER_COUNT 4
151// Dynamic macro starts after dynamic keymaps (69+(4*5*14*2)) = (69+560)
152#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 629
153#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396
154#define DYNAMIC_KEYMAP_MACRO_COUNT 16