summaryrefslogtreecommitdiff
path: root/keyboards/jkdlab
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-06 09:53:52 +1100
committerGitHub <noreply@github.com>2023-03-05 22:53:52 +0000
commit23c365b023e409885e6f201f12df56e5145dde47 (patch)
tree062e72be726939d5f6ddda944facb423bbf386cf /keyboards/jkdlab
parentb34d51d08d7083fc790db2562a4d39890f34886f (diff)
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/jkdlab')
-rw-r--r--keyboards/jkdlab/binary_monkey/config.h6
-rw-r--r--keyboards/jkdlab/binary_monkey/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/jkdlab/binary_monkey/config.h b/keyboards/jkdlab/binary_monkey/config.h
index 4967594b55..3b83277d42 100644
--- a/keyboards/jkdlab/binary_monkey/config.h
+++ b/keyboards/jkdlab/binary_monkey/config.h
@@ -18,10 +18,4 @@
#pragma once
-
-#define MATRIX_ROW_PINS { D0 }
-#define MATRIX_COL_PINS { D1, D2, D3 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/jkdlab/binary_monkey/info.json b/keyboards/jkdlab/binary_monkey/info.json
index c5422097ab..b7fcc584f3 100644
--- a/keyboards/jkdlab/binary_monkey/info.json
+++ b/keyboards/jkdlab/binary_monkey/info.json
@@ -8,6 +8,11 @@
"pid": "0x0101",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D1", "D2", "D3"],
+ "rows": ["D0"]
+ },
+ "diode_direction": "COL2ROW",
"bootmagic": {
"matrix": [0, 2]
},