summaryrefslogtreecommitdiff
path: root/keyboards/inett_studio
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/inett_studio
parentb34d51d08d7083fc790db2562a4d39890f34886f (diff)
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/inett_studio')
-rw-r--r--keyboards/inett_studio/sqx/hotswap/config.h5
-rw-r--r--keyboards/inett_studio/sqx/hotswap/info.json5
-rw-r--r--keyboards/inett_studio/sqx/universal/config.h5
-rw-r--r--keyboards/inett_studio/sqx/universal/info.json5
4 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/inett_studio/sqx/hotswap/config.h b/keyboards/inett_studio/sqx/hotswap/config.h
index 4ef09efc37..a194f0e444 100644
--- a/keyboards/inett_studio/sqx/hotswap/config.h
+++ b/keyboards/inett_studio/sqx/hotswap/config.h
@@ -18,11 +18,6 @@
*/
#pragma once
-
-#define MATRIX_ROW_PINS { F0, F1, F4, B7, D6}
-#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, F7, F6, F5, E6, B0, D2, D4, D5, D3 }
-#define DIODE_DIRECTION ROW2COL
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/inett_studio/sqx/hotswap/info.json b/keyboards/inett_studio/sqx/hotswap/info.json
index 1d9014bdbd..54c18859f2 100644
--- a/keyboards/inett_studio/sqx/hotswap/info.json
+++ b/keyboards/inett_studio/sqx/hotswap/info.json
@@ -8,6 +8,11 @@
"pid": "0x5336",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C7", "C6", "B6", "B5", "B4", "F7", "F6", "F5", "E6", "B0", "D2", "D4", "D5", "D3"],
+ "rows": ["F0", "F1", "F4", "B7", "D6"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_tsangan_hhkb"],
diff --git a/keyboards/inett_studio/sqx/universal/config.h b/keyboards/inett_studio/sqx/universal/config.h
index be6d4a8e65..21929f17f3 100644
--- a/keyboards/inett_studio/sqx/universal/config.h
+++ b/keyboards/inett_studio/sqx/universal/config.h
@@ -18,11 +18,6 @@
*/
#pragma once
-
-#define MATRIX_ROW_PINS { F0, F1, F4, B7, D6}
-#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, F7, F6, F5, E6, B0, D2, D4, D5, D3 }
-#define DIODE_DIRECTION ROW2COL
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/inett_studio/sqx/universal/info.json b/keyboards/inett_studio/sqx/universal/info.json
index 7da0598d91..fa6fa373f9 100644
--- a/keyboards/inett_studio/sqx/universal/info.json
+++ b/keyboards/inett_studio/sqx/universal/info.json
@@ -8,6 +8,11 @@
"pid": "0x5336",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C7", "C6", "B6", "B5", "B4", "F7", "F6", "F5", "E6", "B0", "D2", "D4", "D5", "D3"],
+ "rows": ["F0", "F1", "F4", "B7", "D6"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_hhkb", "60_iso", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],