diff options
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/config.h')
-rw-r--r-- | keyboards/cannonkeys/satisfaction75/config.h | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 8387289d8..7a4354c8a 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h | |||
@@ -64,41 +64,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
64 | 64 | ||
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | 67 | // Custom config starts after VIA's EEPROM usage, | |
68 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | 68 | // dynamic keymaps start after this. |
69 | 69 | // Custom config Usage: | |
70 | // EEPROM usage | 70 | // 1 for enabled encoder modes (1 byte) |
71 | 71 | // 1 for custom backlighting controls (1 byte) | |
72 | // TODO: refactor with new user EEPROM code (coming soon) | 72 | // 1 for OLED default mode (1 byte) |
73 | #define EEPROM_MAGIC 0x451F | 73 | // 6 for 3x custom encoder settings, left, right, and press (18 bytes) |
74 | #define EEPROM_MAGIC_ADDR 40 | 74 | #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 21 |
75 | // Bump this every time we change what we store | ||
76 | // This will automatically reset the EEPROM with defaults | ||
77 | // and avoid loading invalid data from the EEPROM | ||
78 | #define EEPROM_VERSION 0x01 | ||
79 | #define EEPROM_VERSION_ADDR 42 | ||
80 | |||
81 | // Dynamic keymap starts after EEPROM version | ||
82 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 43 | ||
83 | |||
84 | // Dynamic macro starts after dynamic keymaps (35+(4*6*16*2)) = (35+768) = 803 | ||
85 | |||
86 | // I'm also putting my custom stuff after that | ||
87 | // 1 for enabled encoder modes | ||
88 | // 1 for custom backlighting controls | ||
89 | // 1 for OLED default mode | ||
90 | // 6 for 3x custom encoder settings, left, right, and press (18 total) | ||
91 | |||
92 | #define DYNAMIC_KEYMAP_ENABLED_ENCODER_MODES 811 | ||
93 | #define DYNAMIC_KEYMAP_CUSTOM_BACKLIGHT 812 | ||
94 | #define DYNAMIC_KEYMAP_DEFAULT_OLED 813 | ||
95 | #define DYNAMIC_KEYMAP_CUSTOM_ENCODER 814 | ||
96 | |||
97 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 832 | ||
98 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 192 | ||
99 | #define DYNAMIC_KEYMAP_MACRO_COUNT 16 | ||
100 | |||
101 | |||
102 | 75 | ||
103 | /* | 76 | /* |
104 | * Feature disable options | 77 | * Feature disable options |