[Keyboard] Fixed EEPROM start address for firmware using VIA (#6757)
This commit is contained in:
parent
59af2cbe64
commit
55432d0d91
32 changed files with 209 additions and 209 deletions
|
@ -55,16 +55,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*12*9*2)) = (35+864)
|
// Dynamic macro starts after dynamic keymaps (37+(4*12*9*2)) = (37+864)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 899
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 901
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 125
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 123
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -55,17 +55,17 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*10*2)) = (35+800)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*10*2)) = (37+800)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 835
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 837
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 189
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 187
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
||||||
|
|
|
@ -250,17 +250,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// EEPROM usage
|
// EEPROM usage
|
||||||
|
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR = DYNAMIC_KEYMAP_EEPROM_ADDR + (DYNAMIC_KEYMAP_LAYER_COUNT * MATRIX_ROWS * MATRIX_COLS * 2)
|
// DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR = DYNAMIC_KEYMAP_EEPROM_ADDR + (DYNAMIC_KEYMAP_LAYER_COUNT * MATRIX_ROWS * MATRIX_COLS * 2)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
|
||||||
// DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE = 1024 - DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
// DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE = 1024 - DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 387
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -56,16 +56,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*9*2)) = (35+720)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*9*2)) = (37+720)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 755
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 757
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 269 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 267 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
|
@ -136,19 +136,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+32)
|
// Dynamic keymap starts after backlight config (37+32)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 67
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 69
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||||
// Dynamic macro starts after dynamic keymaps (67+(4*5*14*2)) = (67+560)
|
// Dynamic macro starts after dynamic keymaps (69+(4*5*14*2)) = (69+560)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 627
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 629
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -155,16 +155,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 675 // **** CHANGE THIS BASED ON MATRIX_ROWS & MATRIX_COLS ****
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 677 // **** CHANGE THIS BASED ON MATRIX_ROWS & MATRIX_COLS ****
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 349 // **** CHANGE THIS BASED ON 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR ****
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 347 // **** CHANGE THIS BASED ON 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR ****
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -69,16 +69,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 515
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 517
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 509 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 507 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -69,16 +69,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 515
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 517
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 509 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 507 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -69,16 +69,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 515
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 517
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 509 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 507 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -78,16 +78,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 515
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 517
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 509 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 507 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -55,16 +55,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 387 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -136,19 +136,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+32)
|
// Dynamic keymap starts after backlight config (37+32)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 67
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 69
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||||
// Dynamic macro starts after dynamic keymaps (67+(4*5*15*2)) = (67+600)
|
// Dynamic macro starts after dynamic keymaps (69+(4*5*15*2)) = (69+600)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 667
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 669
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -57,16 +57,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*13*4*2)) = (35+416)
|
// Dynamic macro starts after dynamic keymaps (37+(4*13*4*2)) = (37+416)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 451
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 453
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 573 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 571 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -57,16 +57,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*4*2)) = (35+160)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*4*2)) = (37+160)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 195
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 197
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 829
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 827
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
|
@ -127,16 +127,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*6*2)) = (35+480)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 675 // **** CHANGE THIS BASED ON MATRIX_ROWS & MATRIX_COLS ****
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 677 // **** CHANGE THIS BASED ON MATRIX_ROWS & MATRIX_COLS ****
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 349 // **** CHANGE THIS BASED ON 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR ****
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 347 // **** CHANGE THIS BASED ON 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR ****
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -125,18 +125,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+31)
|
// Dynamic keymap starts after backlight config (37+31)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 68
|
||||||
// Dynamic macro starts after dynamic keymaps (66+(4*5*15*2)) = (66+600)
|
// Dynamic macro starts after dynamic keymaps (68+(4*5*15*2)) = (68+600)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 666
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 668
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 358
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 356
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -189,18 +189,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*10*2)) = (35+80)
|
// Dynamic macro starts after dynamic keymaps (37+(4*10*2)) = (37+80)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 115
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 117
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 909
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 907
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -122,18 +122,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+31)
|
// Dynamic keymap starts after backlight config (37+31)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 68
|
||||||
// Dynamic macro starts after dynamic keymaps (66+(4*5*14*2)) = (66+560)
|
// Dynamic macro starts after dynamic keymaps (68+(4*5*14*2)) = (68+560)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 626
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 628
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -109,21 +109,21 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// NOTE: M6-A doesn't use RGB backlight, but we keep this
|
// NOTE: M6-A doesn't use RGB backlight, but we keep this
|
||||||
// consistent with M6-B which does.
|
// consistent with M6-B which does.
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+43)
|
// Dynamic keymap starts after backlight config (37+43)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 78
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 80
|
||||||
// Dynamic macro starts after dynamic keymaps (78+(4*6*2)) = (78+48)
|
// Dynamic macro starts after dynamic keymaps (80+(4*6*2)) = (80+48)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 126
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 128
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 898
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 896
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -155,18 +155,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+43)
|
// Dynamic keymap starts after backlight config (37+43)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 78
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 80
|
||||||
// Dynamic macro starts after dynamic keymaps (78+(4*6*2)) = (78+48)
|
// Dynamic macro starts after dynamic keymaps (80+(4*6*2)) = (80+48)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 126
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 128
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 898
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 896
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -241,18 +241,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x07
|
#define EEPROM_VERSION 0x07
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+31)
|
// Dynamic keymap starts after backlight config (37+31)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 68
|
||||||
// Dynamic macro starts after dynamic keymaps (66+(4*6*17*2)) = (66+816)
|
// Dynamic macro starts after dynamic keymaps (68+(4*6*17*2)) = (68+816)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 882
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 884
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 142
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 140
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*14*2)) = (35+560)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*14*2)) = (37+560)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 595
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 597
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 429
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 427
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -185,16 +185,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*14*2)) = (35+560)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*14*2)) = (37+560)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 595
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 597
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 429
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 427
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*15*2)) = (37+600)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 387
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*15*2)) = (37+600)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 387
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -188,16 +188,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*5*17*2)) = (35+680)
|
// Dynamic macro starts after dynamic keymaps (37+(4*5*17*2)) = (37+680)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 715
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 717
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 309
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 307
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*6*15*2)) = (35+720)
|
// Dynamic macro starts after dynamic keymaps (37+(4*6*15*2)) = (37+720)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 755
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 757
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 269
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 267
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*6*16*2)) = (35+768)
|
// Dynamic macro starts after dynamic keymaps (37+(4*6*16*2)) = (37+768)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 803
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 805
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 221
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 219
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -187,16 +187,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*6*17*2)) = (35+816)
|
// Dynamic macro starts after dynamic keymaps (37+(4*6*17*2)) = (37+816)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 851
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 853
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 173
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 171
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -100,16 +100,16 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Dynamic keymap starts after EEPROM version
|
// Dynamic keymap starts after EEPROM version
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
|
||||||
// Dynamic macro starts after dynamic keymaps (35+(4*1*8*2)) = (35+64)
|
// Dynamic macro starts after dynamic keymaps (37+(4*1*8*2)) = (37+64)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 99
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 101
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 925
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 923
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -121,18 +121,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+31)
|
// Dynamic keymap starts after backlight config (37+31)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 68
|
||||||
// Dynamic macro starts after dynamic keymaps (66+(4*5*14*2)) = (66+560)
|
// Dynamic macro starts after dynamic keymaps (68+(4*5*14*2)) = (68+560)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 626
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 628
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
|
@ -121,18 +121,18 @@
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 34
|
||||||
// Bump this every time we change what we store
|
// Bump this every time we change what we store
|
||||||
// This will automatically reset the EEPROM with defaults
|
// This will automatically reset the EEPROM with defaults
|
||||||
// and avoid loading invalid data from the EEPROM
|
// and avoid loading invalid data from the EEPROM
|
||||||
#define EEPROM_VERSION 0x08
|
#define EEPROM_VERSION 0x08
|
||||||
#define EEPROM_VERSION_ADDR 34
|
#define EEPROM_VERSION_ADDR 36
|
||||||
|
|
||||||
// Backlight config starts after EEPROM version
|
// Backlight config starts after EEPROM version
|
||||||
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
|
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37
|
||||||
// Dynamic keymap starts after backlight config (35+31)
|
// Dynamic keymap starts after backlight config (37+31)
|
||||||
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
|
#define DYNAMIC_KEYMAP_EEPROM_ADDR 68
|
||||||
// Dynamic macro starts after dynamic keymaps (66+(4*5*15*2)) = (66+600)
|
// Dynamic macro starts after dynamic keymaps (68+(4*5*15*2)) = (68+600)
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 666
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 668
|
||||||
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 358
|
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 356
|
||||||
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
|
||||||
|
|
Loading…
Reference in a new issue