aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dp60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dp60/config.h')
-rw-r--r--keyboards/dp60/config.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h
index 87eebbe19..29d5e3c2a 100644
--- a/keyboards/dp60/config.h
+++ b/keyboards/dp60/config.h
@@ -50,24 +50,6 @@
50#define DRIVER_2_LED_TOTAL 36 50#define DRIVER_2_LED_TOTAL 36
51#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) 51#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
52 52
53#if defined(RAW_ENABLE) 53#if defined(VIA_ENABLE)
54//VIA 54# define DYNAMIC_KEYMAP_LAYER_COUNT 2
55#define DYNAMIC_KEYMAP_LAYER_COUNT 2
56// EEPROM usage
57
58// TODO: refactor with new user EEPROM code (coming soon)
59#define EEPROM_MAGIC 0x451F
60#define EEPROM_MAGIC_ADDR 34
61// Bump this every time we change what we store
62// This will automatically reset the EEPROM with defaults
63// and avoid loading invalid data from the EEPROM
64#define EEPROM_VERSION 0x08
65#define EEPROM_VERSION_ADDR 36
66
67// Dynamic keymap starts after EEPROM version
68#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
69// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
70#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
71#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 391 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
72#define DYNAMIC_KEYMAP_MACRO_COUNT 16
73#endif 55#endif