summaryrefslogtreecommitdiff
path: root/keyboards/neopad/rev1
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:34:34 +1100
committerGitHub <noreply@github.com>2023-03-11 00:34:34 +1100
commitace372d90de13dafc815df5d8049497cb351b69b (patch)
tree0eb4793443956fbc60a1cfca5c1f1e556422ce66 /keyboards/neopad/rev1
parent76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff)
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/neopad/rev1')
-rwxr-xr-xkeyboards/neopad/rev1/config.h5
-rwxr-xr-xkeyboards/neopad/rev1/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/neopad/rev1/config.h b/keyboards/neopad/rev1/config.h
index dce1020b44..fd1724caf1 100755
--- a/keyboards/neopad/rev1/config.h
+++ b/keyboards/neopad/rev1/config.h
@@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-
-/* Column/Row IO definitions */
-#define MATRIX_ROW_PINS { F4, F5 }
-#define MATRIX_COL_PINS { B3, B2, B6 }
-
/* Onboard LEDs */
#define LED_00 F6
#define LED_01 F7
diff --git a/keyboards/neopad/rev1/info.json b/keyboards/neopad/rev1/info.json
index 48654b6941..4cc1a3d9d5 100755
--- a/keyboards/neopad/rev1/info.json
+++ b/keyboards/neopad/rev1/info.json
@@ -8,6 +8,11 @@
"pid": "0x0913",
"device_version": "0.1.0"
},
+ "matrix_pins": {
+ "cols": ["B3", "B2", "B6"],
+ "rows": ["F4", "F5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D1", "pin_b": "D0"},