summaryrefslogtreecommitdiff
path: root/keyboards/arrayperipherals
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/arrayperipherals')
-rw-r--r--keyboards/arrayperipherals/1x4p1/config.h10
-rw-r--r--keyboards/arrayperipherals/1x4p1/info.json5
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/arrayperipherals/1x4p1/config.h b/keyboards/arrayperipherals/1x4p1/config.h
index 719c2c00da..b70680e4f5 100644
--- a/keyboards/arrayperipherals/1x4p1/config.h
+++ b/keyboards/arrayperipherals/1x4p1/config.h
@@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 5
-
-
-#define DIRECT_PINS { \
- { C7, B7, D6, F5, F7} \
-}
-
/* rotary encoder*/
#define ENCODERS_PAD_A {F0}
#define ENCODERS_PAD_B {F1}
diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json
index b224d3d5a6..0441646af0 100644
--- a/keyboards/arrayperipherals/1x4p1/info.json
+++ b/keyboards/arrayperipherals/1x4p1/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["C7", "B7", "D6", "F5", "F7"]
+ ]
+ },
"layouts": {
"LAYOUT_ortho_1x5": {
"layout": [