summaryrefslogtreecommitdiff
path: root/keyboards/pizzakeyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pizzakeyboards')
-rw-r--r--keyboards/pizzakeyboards/pizza65/config.h5
-rw-r--r--keyboards/pizzakeyboards/pizza65/info.json13
-rw-r--r--keyboards/pizzakeyboards/pizza65/pizza65.c17
3 files changed, 9 insertions, 26 deletions
diff --git a/keyboards/pizzakeyboards/pizza65/config.h b/keyboards/pizzakeyboards/pizza65/config.h
index 3c36c8ca6f..1500ab9b88 100644
--- a/keyboards/pizzakeyboards/pizza65/config.h
+++ b/keyboards/pizzakeyboards/pizza65/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define MATRIX_ROW_PINS { B15, A10, F1, A0, A1 }
-#define MATRIX_COL_PINS { A9, A8, F0, A2, A3, A4, B9, B8, B7, B6, B5, B4, B3, A15, A14, A13}
-
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/pizzakeyboards/pizza65/info.json b/keyboards/pizzakeyboards/pizza65/info.json
index bbba5ae0e9..728de231f5 100644
--- a/keyboards/pizzakeyboards/pizza65/info.json
+++ b/keyboards/pizzakeyboards/pizza65/info.json
@@ -8,6 +8,11 @@
"pid": "0x707A",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["A9", "A8", "F0", "A2", "A3", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "A13"],
+ "rows": ["B15", "A10", "F1", "A0", "A1"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
@@ -77,7 +82,7 @@
{"label": "r5_01", "x": 0, "y": 4, "w": 1.25},
{"label": "r5_02", "x": 1.25, "y": 4, "w": 1.25},
- {"label": "r5_03", "x": 2.50, "y": 4, "w": 1.25},
+ {"label": "r5_03", "x": 2.5, "y": 4, "w": 1.25},
{"label": "r5_04", "x": 3.75, "y": 4, "w": 6.25},
{"label": "r5_05", "x": 10, "y": 4, "w": 1.25},
{"label": "r5_06", "x": 11.25, "y": 4, "w": 1.25},
@@ -153,7 +158,7 @@
{"label": "r5_01", "x": 0, "y": 4, "w": 1.25},
{"label": "r5_02", "x": 1.25, "y": 4, "w": 1.25},
- {"label": "r5_03", "x": 2.50, "y": 4, "w": 1.25},
+ {"label": "r5_03", "x": 2.5, "y": 4, "w": 1.25},
{"label": "r5_04", "x": 3.75, "y": 4, "w": 6.25},
{"label": "r5_05", "x": 10, "y": 4, "w": 1.25},
{"label": "r5_06", "x": 11.25, "y": 4, "w": 1.25},
@@ -229,7 +234,7 @@
{"label": "r5_01", "x": 0, "y": 4, "w": 1.25},
{"label": "r5_02", "x": 1.25, "y": 4, "w": 1.25},
- {"label": "r5_03", "x": 2.50, "y": 4, "w": 1.25},
+ {"label": "r5_03", "x": 2.5, "y": 4, "w": 1.25},
{"label": "r5_04", "x": 3.75, "y": 4, "w": 6.25},
{"label": "r5_05", "x": 10, "y": 4, "w": 1.25},
{"label": "r5_06", "x": 11.25, "y": 4, "w": 1.25},
@@ -306,7 +311,7 @@
{"label": "r5_01", "x": 0, "y": 4, "w": 1.25},
{"label": "r5_02", "x": 1.25, "y": 4, "w": 1.25},
- {"label": "r5_03", "x": 2.50, "y": 4, "w": 1.25},
+ {"label": "r5_03", "x": 2.5, "y": 4, "w": 1.25},
{"label": "r5_04", "x": 3.75, "y": 4, "w": 6.25},
{"label": "r5_05", "x": 10, "y": 4, "w": 1.25},
{"label": "r5_06", "x": 11.25, "y": 4, "w": 1.25},
diff --git a/keyboards/pizzakeyboards/pizza65/pizza65.c b/keyboards/pizzakeyboards/pizza65/pizza65.c
deleted file mode 100644
index 93d832af2b..0000000000
--- a/keyboards/pizzakeyboards/pizza65/pizza65.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 mmonte
- *
- * 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/>.
- */
-
-#include "pizza65.h"