summaryrefslogtreecommitdiff
path: root/keyboards/ncc1701kb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ncc1701kb')
-rw-r--r--keyboards/ncc1701kb/config.h8
-rw-r--r--keyboards/ncc1701kb/info.json5
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h
index adfe863976..bd03d32227 100644
--- a/keyboards/ncc1701kb/config.h
+++ b/keyboards/ncc1701kb/config.h
@@ -17,12 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* NCC-1701-KB PCB default pin-out */
-#define MATRIX_ROW_PINS { D4, D6, D7 }
-#define MATRIX_COL_PINS { B4, B5, B6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
#define TAPPING_TERM 200
diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/info.json
index 828eefef02..61a4c20e8f 100644
--- a/keyboards/ncc1701kb/info.json
+++ b/keyboards/ncc1701kb/info.json
@@ -8,6 +8,11 @@
"pid": "0x1701",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B4", "B5", "B6"],
+ "rows": ["D4", "D6", "D7"]
+ },
+ "diode_direction": "ROW2COL",
"backlight": {
"pin": "B7",
"breathing": true