From da024d6bf9ccd0a7b9ff312a39a71be236e88501 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 8 Jun 2022 22:53:33 +0200 Subject: [PATCH] Model100: Increase the available EEPROM layers to 8 The Model100 has a lot more space available compared to the Model01, so we can have more layers in EEPROM. While we could have more than 8, 8 is the limit that OneShot and dual-use keys support via Chrysalis, so to avoid potential confusion, lets have 8 layers only. Signed-off-by: Gergely Nagy --- examples/Devices/Keyboardio/Model100/Model100.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Devices/Keyboardio/Model100/Model100.ino b/examples/Devices/Keyboardio/Model100/Model100.ino index 256fb23f..6f5c4240 100644 --- a/examples/Devices/Keyboardio/Model100/Model100.ino +++ b/examples/Devices/Keyboardio/Model100/Model100.ino @@ -583,16 +583,16 @@ void setup() { LEDOff.activate(); // To make the keymap editable without flashing new firmware, we store - // additional layers in EEPROM. For now, we reserve space for five layers. If + // additional layers in EEPROM. For now, we reserve space for eight layers. If // one wants to use these layers, just set the default layer to one in EEPROM, // by using the `settings.defaultLayer` Focus command, or by using the // `keymap.onlyCustom` command to use EEPROM layers only. - EEPROMKeymap.setup(5); + EEPROMKeymap.setup(8); // We need to tell the Colormap plugin how many layers we want to have custom - // maps for. To make things simple, we set it to five layers, which is how + // maps for. To make things simple, we set it to eight layers, which is how // many editable layers we have (see above). - ColormapEffect.max_layers(5); + ColormapEffect.max_layers(8); // For Dynamic Macros, we need to reserve storage space for the editable // macros. A kilobyte is a reasonable default.