From 3400908b08284a8e2e17efa19053af874cd44e0c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 21 May 2024 13:25:28 +0100 Subject: Move VIA config to keymap level (#23754) --- keyboards/kbdfans/baguette66/rgb/config.h | 2 -- keyboards/kbdfans/baguette66/rgb/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/baguette66/soldered/config.h | 1 - .../kbdfans/baguette66/soldered/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/boop65/rgb/config.h | 2 -- keyboards/kbdfans/boop65/rgb/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/bounce/75/hotswap/config.h | 2 -- .../kbdfans/bounce/75/hotswap/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/bounce/75/soldered/config.h | 2 -- .../kbdfans/bounce/75/soldered/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/kbd67/mkiirgb/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/kbd67/mkiirgb/v4/config.h | 2 -- keyboards/kbdfans/kbd67/mkiirgb_iso/config.h | 1 - .../kbdfans/kbd67/mkiirgb_iso/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/kbd75hs/config.h | 2 -- keyboards/kbdfans/kbd75hs/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/kbd75rgb/config.h | 1 - keyboards/kbdfans/kbd75rgb/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/odin/soldered/config.h | 2 -- keyboards/kbdfans/odin/soldered/keymaps/via/config.h | 5 ++++- keyboards/kbdfans/phaseone/config.h | 2 -- keyboards/kbdfans/phaseone/keymaps/via/config.h | 19 +++++++++++++++++++ keyboards/kbdfans/tiger80/config.h | 2 -- keyboards/kbdfans/tiger80/keymaps/via/config.h | 19 +++++++++++++++++++ 24 files changed, 213 insertions(+), 22 deletions(-) create mode 100644 keyboards/kbdfans/baguette66/rgb/keymaps/via/config.h create mode 100644 keyboards/kbdfans/baguette66/soldered/keymaps/via/config.h create mode 100644 keyboards/kbdfans/boop65/rgb/keymaps/via/config.h create mode 100644 keyboards/kbdfans/bounce/75/hotswap/keymaps/via/config.h create mode 100644 keyboards/kbdfans/bounce/75/soldered/keymaps/via/config.h create mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/via/config.h create mode 100644 keyboards/kbdfans/kbd67/mkiirgb_iso/keymaps/via/config.h create mode 100644 keyboards/kbdfans/kbd75hs/keymaps/via/config.h create mode 100644 keyboards/kbdfans/kbd75rgb/keymaps/via/config.h create mode 100644 keyboards/kbdfans/phaseone/keymaps/via/config.h create mode 100644 keyboards/kbdfans/tiger80/keymaps/via/config.h (limited to 'keyboards/kbdfans') diff --git a/keyboards/kbdfans/baguette66/rgb/config.h b/keyboards/kbdfans/baguette66/rgb/config.h index d309ba55ee..b7bf44d9b6 100644 --- a/keyboards/kbdfans/baguette66/rgb/config.h +++ b/keyboards/kbdfans/baguette66/rgb/config.h @@ -17,5 +17,3 @@ #pragma once #define USB_SUSPEND_WAKEUP_DELAY 5000 - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/baguette66/rgb/keymaps/via/config.h b/keyboards/kbdfans/baguette66/rgb/keymaps/via/config.h new file mode 100644 index 0000000000..269d09df1f --- /dev/null +++ b/keyboards/kbdfans/baguette66/rgb/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/baguette66/soldered/config.h b/keyboards/kbdfans/baguette66/soldered/config.h index 707393a197..b7bf44d9b6 100644 --- a/keyboards/kbdfans/baguette66/soldered/config.h +++ b/keyboards/kbdfans/baguette66/soldered/config.h @@ -17,4 +17,3 @@ #pragma once #define USB_SUSPEND_WAKEUP_DELAY 5000 -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/baguette66/soldered/keymaps/via/config.h b/keyboards/kbdfans/baguette66/soldered/keymaps/via/config.h new file mode 100644 index 0000000000..269d09df1f --- /dev/null +++ b/keyboards/kbdfans/baguette66/soldered/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/boop65/rgb/config.h b/keyboards/kbdfans/boop65/rgb/config.h index daf5985996..ec4042f512 100644 --- a/keyboards/kbdfans/boop65/rgb/config.h +++ b/keyboards/kbdfans/boop65/rgb/config.h @@ -19,5 +19,3 @@ #define USB_SUSPEND_WAKEUP_DELAY 5000 #define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/boop65/rgb/keymaps/via/config.h b/keyboards/kbdfans/boop65/rgb/keymaps/via/config.h new file mode 100644 index 0000000000..08f011077b --- /dev/null +++ b/keyboards/kbdfans/boop65/rgb/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2021 Dztech + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/bounce/75/hotswap/config.h b/keyboards/kbdfans/bounce/75/hotswap/config.h index 56a23d8321..ec3794e067 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/config.h +++ b/keyboards/kbdfans/bounce/75/hotswap/config.h @@ -17,5 +17,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/75/hotswap/keymaps/via/config.h b/keyboards/kbdfans/bounce/75/hotswap/keymaps/via/config.h new file mode 100644 index 0000000000..0ecbf93f8b --- /dev/null +++ b/keyboards/kbdfans/bounce/75/hotswap/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/75/soldered/config.h b/keyboards/kbdfans/bounce/75/soldered/config.h index 56a23d8321..ec3794e067 100644 --- a/keyboards/kbdfans/bounce/75/soldered/config.h +++ b/keyboards/kbdfans/bounce/75/soldered/config.h @@ -17,5 +17,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/75/soldered/keymaps/via/config.h b/keyboards/kbdfans/bounce/75/soldered/keymaps/via/config.h new file mode 100644 index 0000000000..269d09df1f --- /dev/null +++ b/keyboards/kbdfans/bounce/75/soldered/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/via/config.h b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/via/config.h new file mode 100644 index 0000000000..12ea38ce79 --- /dev/null +++ b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2021 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h b/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h index 8ed4d909cb..3390984411 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h @@ -17,5 +17,3 @@ #pragma once #define USB_SUSPEND_WAKEUP_DELAY 5000 - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd67/mkiirgb_iso/config.h b/keyboards/kbdfans/kbd67/mkiirgb_iso/config.h index f20015619b..3390984411 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb_iso/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb_iso/config.h @@ -17,4 +17,3 @@ #pragma once #define USB_SUSPEND_WAKEUP_DELAY 5000 -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd67/mkiirgb_iso/keymaps/via/config.h b/keyboards/kbdfans/kbd67/mkiirgb_iso/keymaps/via/config.h new file mode 100644 index 0000000000..12ea38ce79 --- /dev/null +++ b/keyboards/kbdfans/kbd67/mkiirgb_iso/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2021 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75hs/config.h b/keyboards/kbdfans/kbd75hs/config.h index 05ad34d3f5..4c42ba3c62 100644 --- a/keyboards/kbdfans/kbd75hs/config.h +++ b/keyboards/kbdfans/kbd75hs/config.h @@ -17,5 +17,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75hs/keymaps/via/config.h b/keyboards/kbdfans/kbd75hs/keymaps/via/config.h new file mode 100644 index 0000000000..e777326dd5 --- /dev/null +++ b/keyboards/kbdfans/kbd75hs/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2021 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75rgb/config.h b/keyboards/kbdfans/kbd75rgb/config.h index d7040d4172..40a0ab60c2 100644 --- a/keyboards/kbdfans/kbd75rgb/config.h +++ b/keyboards/kbdfans/kbd75rgb/config.h @@ -17,4 +17,3 @@ #pragma once #define USB_SUSPEND_WAKEUP_DELAY 5000 -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75rgb/keymaps/via/config.h b/keyboards/kbdfans/kbd75rgb/keymaps/via/config.h new file mode 100644 index 0000000000..e777326dd5 --- /dev/null +++ b/keyboards/kbdfans/kbd75rgb/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2021 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/odin/soldered/config.h b/keyboards/kbdfans/odin/soldered/config.h index 3586d1d96a..f45d64b858 100644 --- a/keyboards/kbdfans/odin/soldered/config.h +++ b/keyboards/kbdfans/odin/soldered/config.h @@ -17,5 +17,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 8) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/odin/soldered/keymaps/via/config.h b/keyboards/kbdfans/odin/soldered/keymaps/via/config.h index fc9fbf68cd..aaa7f14810 100644 --- a/keyboards/kbdfans/odin/soldered/keymaps/via/config.h +++ b/keyboards/kbdfans/odin/soldered/keymaps/via/config.h @@ -14,4 +14,7 @@ * along with this program. If not, see . */ #pragma once -#define DYNAMIC_KEYMAP_LAYER_COUNT 2 \ No newline at end of file + +#define DYNAMIC_KEYMAP_LAYER_COUNT 2 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/phaseone/config.h b/keyboards/kbdfans/phaseone/config.h index b090729a50..cc19b0f44f 100644 --- a/keyboards/kbdfans/phaseone/config.h +++ b/keyboards/kbdfans/phaseone/config.h @@ -22,5 +22,3 @@ #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/phaseone/keymaps/via/config.h b/keyboards/kbdfans/phaseone/keymaps/via/config.h new file mode 100644 index 0000000000..3afd289d1d --- /dev/null +++ b/keyboards/kbdfans/phaseone/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 Dztech + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/tiger80/config.h b/keyboards/kbdfans/tiger80/config.h index b58aa329ec..05101e6a08 100644 --- a/keyboards/kbdfans/tiger80/config.h +++ b/keyboards/kbdfans/tiger80/config.h @@ -17,5 +17,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) - -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/tiger80/keymaps/via/config.h b/keyboards/kbdfans/tiger80/keymaps/via/config.h new file mode 100644 index 0000000000..269d09df1f --- /dev/null +++ b/keyboards/kbdfans/tiger80/keymaps/via/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 DZTECH + * + * 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 + +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 -- cgit v1.2.3