aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/instant60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cannonkeys/instant60/config.h')
-rw-r--r--keyboards/cannonkeys/instant60/config.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h
index 9da2043d2..2d23d5f83 100644
--- a/keyboards/cannonkeys/instant60/config.h
+++ b/keyboards/cannonkeys/instant60/config.h
@@ -58,26 +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 61// Backlight config starts after VIA's EEPROM usage,
62// EEPROM usage 62// dynamic keymaps start after this.
63// TODO: refactor with new user EEPROM code (coming soon) 63#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1
64#define EEPROM_MAGIC 0x451F
65#define EEPROM_MAGIC_ADDR 40
66// Bump this every time we change what we store
67// This will automatically reset the EEPROM with defaults
68// and avoid loading invalid data from the EEPROM
69#define EEPROM_VERSION 0x03
70#define EEPROM_VERSION_ADDR 42
71
72
73#define DYNAMIC_KEYMAP_LAYER_COUNT 4
74// Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600) = 635
75// start + layer * rows * col * 2
76#define DYNAMIC_KEYMAP_EEPROM_ADDR 43
77#define EEPROM_CUSTOM_BACKLIGHT 644
78#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 645
79#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 192
80#define DYNAMIC_KEYMAP_MACRO_COUNT 16
81 64
82/* 65/*
83 * Feature disable options 66 * Feature disable options