diff options
Diffstat (limited to 'keyboards/cannonkeys/tmov2/config.h')
-rw-r--r-- | keyboards/cannonkeys/tmov2/config.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index 0c586de9e..d5f1d0788 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h | |||
@@ -58,25 +58,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
58 | #define PIN_WS2812 15 | 58 | #define PIN_WS2812 15 |
59 | #define WS2812_SPI SPID2 | 59 | #define WS2812_SPI SPID2 |
60 | 60 | ||
61 | // EEPROM usage | 61 | // Backlight config starts after VIA's EEPROM usage, |
62 | // TODO: refactor with new user EEPROM code (coming soon) | 62 | // dynamic keymaps start after this. |
63 | #define EEPROM_MAGIC 0x451F | 63 | #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1 |
64 | #define EEPROM_MAGIC_ADDR 40 | ||
65 | // Bump this every time we change what we store | ||
66 | // This will automatically reset the EEPROM with defaults | ||
67 | // and avoid loading invalid data from the EEPROM | ||
68 | #define EEPROM_VERSION 0x02 | ||
69 | #define EEPROM_VERSION_ADDR 42 | ||
70 | |||
71 | |||
72 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
73 | // Dynamic macro starts after dynamic keymaps (43+(4*4*15*2)) = (43+480) = 523 | ||
74 | // start + layer * rows * col * 2c | ||
75 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 43 | ||
76 | #define EEPROM_CUSTOM_BACKLIGHT 523 | ||
77 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 524 | ||
78 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 200 | ||
79 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
80 | 64 | ||
81 | /* | 65 | /* |
82 | * Feature disable options | 66 | * Feature disable options |