diff options
Diffstat (limited to 'keyboards/cannonkeys/iron165/config.h')
-rw-r--r-- | keyboards/cannonkeys/iron165/config.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h index c5fcd4518..640f6fb65 100644 --- a/keyboards/cannonkeys/iron165/config.h +++ b/keyboards/cannonkeys/iron165/config.h | |||
@@ -50,25 +50,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
50 | /* Locking resynchronize hack */ | 50 | /* Locking resynchronize hack */ |
51 | #define LOCKING_RESYNC_ENABLE | 51 | #define LOCKING_RESYNC_ENABLE |
52 | 52 | ||
53 | // EEPROM usage | 53 | // Backlight config starts after VIA's EEPROM usage, |
54 | // TODO: refactor with new user EEPROM code (coming soon) | 54 | // dynamic keymaps start after this. |
55 | #define EEPROM_MAGIC 0x451F | 55 | #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1 |
56 | #define EEPROM_MAGIC_ADDR 40 | ||
57 | // Bump this every time we change what we store | ||
58 | // This will automatically reset the EEPROM with defaults | ||
59 | // and avoid loading invalid data from the EEPROM | ||
60 | #define EEPROM_VERSION 0x02 | ||
61 | #define EEPROM_VERSION_ADDR 42 | ||
62 | |||
63 | |||
64 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
65 | // Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600) = 635 | ||
66 | // start + layer * rows * col * 2 | ||
67 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 43 | ||
68 | #define EEPROM_CUSTOM_BACKLIGHT 684 | ||
69 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 685 | ||
70 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 192 | ||
71 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
72 | 56 | ||
73 | /* | 57 | /* |
74 | * Feature disable options | 58 | * Feature disable options |