diff options
| author | Joel Challis | 2024-05-21 14:25:28 +0200 |
|---|---|---|
| committer | GitHub | 2024-05-21 14:25:28 +0200 |
| commit | 3400908b08284a8e2e17efa19053af874cd44e0c (patch) | |
| tree | 650ee59426bae11c83c694f1081b754986b071a3 /keyboards/projectkb | |
| parent | 73f9fb91a391555748d4839161154b98f95eb8fc (diff) | |
Move VIA config to keymap level (#23754)
Diffstat (limited to 'keyboards/projectkb')
| -rw-r--r-- | keyboards/projectkb/alice/keymaps/via/config.h | 21 | ||||
| -rw-r--r-- | keyboards/projectkb/alice/rev1/config.h | 3 | ||||
| -rw-r--r-- | keyboards/projectkb/alice/rev2/config.h | 4 |
3 files changed, 21 insertions, 7 deletions
diff --git a/keyboards/projectkb/alice/keymaps/via/config.h b/keyboards/projectkb/alice/keymaps/via/config.h new file mode 100644 index 0000000000..ab0b289689 --- /dev/null +++ b/keyboards/projectkb/alice/keymaps/via/config.h @@ -0,0 +1,21 @@ +/* +Copyright 2015 Jun Wako <wakojun@gmail.com> + +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 <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +// 2 bits for 4 layout options +#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index dca7542513..829976ebd6 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h @@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define INDICATOR_PIN_1 A1 #define INDICATOR_PIN_2 A2 -// 2 bits for 4 layout options -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index f5d9ca0c3e..6e250bb14e 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h @@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define INDICATOR_PIN_1 A8 #define INDICATOR_PIN_2 B12 - -// 2 bits for 4 layout options -#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 - /* * Feature disable options * These options are also useful to firmware size reduction. |