From 1a40af74dacf6719c00baf252ffe1318358ab829 Mon Sep 17 00:00:00 2001 From: yiancar Date: Wed, 22 Jan 2020 21:28:42 +0000 Subject: [PATCH] HS60 EEPROM size fix (#7968) --- keyboards/hs60/v2/ansi/config.h | 4 +++- .../hs60/v2/ansi/keymaps/default/config.h | 23 ------------------- keyboards/hs60/v2/ansi/keymaps/via/config.h | 23 ------------------- keyboards/hs60/v2/hhkb/config.h | 4 +++- keyboards/hs60/v2/iso/config.h | 2 +- 5 files changed, 7 insertions(+), 49 deletions(-) delete mode 100644 keyboards/hs60/v2/ansi/keymaps/default/config.h delete mode 100644 keyboards/hs60/v2/ansi/keymaps/via/config.h diff --git a/keyboards/hs60/v2/ansi/config.h b/keyboards/hs60/v2/ansi/config.h index a02c362c96e70bb30a8b477b34d46c54c49cf7f3..4d0c03a9c34a8e3ab753d8a5d60e0fe3ef710b51 100644 --- a/keyboards/hs60/v2/ansi/config.h +++ b/keyboards/hs60/v2/ansi/config.h @@ -142,5 +142,7 @@ along with this program. If not, see . // Backlight config starts after VIA's EEPROM usage, // dynamic keymaps start after this. -#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 31 +#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 32 +// VIA lighting is handled by the keyboard-level code +#define VIA_CUSTOM_LIGHTING_ENABLE diff --git a/keyboards/hs60/v2/ansi/keymaps/default/config.h b/keyboards/hs60/v2/ansi/keymaps/default/config.h deleted file mode 100644 index 96adaf56884e79dd3f90b446c63fe824a04ffb33..0000000000000000000000000000000000000000 --- a/keyboards/hs60/v2/ansi/keymaps/default/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2018 Yiancar - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#pragma once - -/* Include overwrites for specific keymap */ - -#define HS60_ANSI -#undef PRODUCT_ID -#define PRODUCT_ID 0x4854 diff --git a/keyboards/hs60/v2/ansi/keymaps/via/config.h b/keyboards/hs60/v2/ansi/keymaps/via/config.h deleted file mode 100644 index 96adaf56884e79dd3f90b446c63fe824a04ffb33..0000000000000000000000000000000000000000 --- a/keyboards/hs60/v2/ansi/keymaps/via/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2018 Yiancar - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#pragma once - -/* Include overwrites for specific keymap */ - -#define HS60_ANSI -#undef PRODUCT_ID -#define PRODUCT_ID 0x4854 diff --git a/keyboards/hs60/v2/hhkb/config.h b/keyboards/hs60/v2/hhkb/config.h index 45cfe57168a30d40d618665f2619bc6c77ff74c4..69c0a3fe0304d4060b87ef79ad768bce0a2a753f 100644 --- a/keyboards/hs60/v2/hhkb/config.h +++ b/keyboards/hs60/v2/hhkb/config.h @@ -142,5 +142,7 @@ along with this program. If not, see . // Backlight config starts after VIA's EEPROM usage, // dynamic keymaps start after this. -#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 31 +#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 32 +// VIA lighting is handled by the keyboard-level code +#define VIA_CUSTOM_LIGHTING_ENABLE diff --git a/keyboards/hs60/v2/iso/config.h b/keyboards/hs60/v2/iso/config.h index e252b1982c721e81d5b04c58b95eb483a096f011..5c2488c7844c55156e7afd93a4df2ad6e6a5c19f 100644 --- a/keyboards/hs60/v2/iso/config.h +++ b/keyboards/hs60/v2/iso/config.h @@ -140,7 +140,7 @@ along with this program. If not, see . // Backlight config starts after VIA's EEPROM usage, // dynamic keymaps start after this. -#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 31 +#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 32 // VIA lighting is handled by the keyboard-level code #define VIA_CUSTOM_LIGHTING_ENABLE