diff options
Diffstat (limited to 'keyboards/arrayperipherals')
| -rw-r--r-- | keyboards/arrayperipherals/1x4p1/config.h | 22 | ||||
| -rw-r--r-- | keyboards/arrayperipherals/1x4p1/info.json | 5 |
2 files changed, 5 insertions, 22 deletions
diff --git a/keyboards/arrayperipherals/1x4p1/config.h b/keyboards/arrayperipherals/1x4p1/config.h deleted file mode 100644 index b70680e4f5..0000000000 --- a/keyboards/arrayperipherals/1x4p1/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 David Doan | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* rotary encoder*/ | ||
| 21 | #define ENCODERS_PAD_A {F0} | ||
| 22 | #define ENCODERS_PAD_B {F1} | ||
diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json index b124b20334..2cc838bc92 100644 --- a/keyboards/arrayperipherals/1x4p1/info.json +++ b/keyboards/arrayperipherals/1x4p1/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4F46", | 8 | "pid": "0x4F46", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "encoder": { | ||
| 12 | "rotary": [ | ||
| 13 | {"pin_a": "F0", "pin_b": "F1"} | ||
| 14 | ] | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 17 | "bootloader": "caterina", |
| 13 | "matrix_pins": { | 18 | "matrix_pins": { |
