summaryrefslogtreecommitdiff
path: root/keyboards/flehrad/bigswitch
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-10 22:16:56 +1100
committerGitHub <noreply@github.com>2023-03-10 22:16:56 +1100
commitdd086a51d82a574a55eb3b89e8943301d72296f3 (patch)
treedb49e94d90e9f3a8a6cf72a9da0d5549dd2a9bcb /keyboards/flehrad/bigswitch
parent80661e5f1981af4d50a32d41e136e9586d5f5a43 (diff)
Move matrix config to info.json, part 2 (#19987)
Diffstat (limited to 'keyboards/flehrad/bigswitch')
-rw-r--r--keyboards/flehrad/bigswitch/config.h8
-rw-r--r--keyboards/flehrad/bigswitch/info.json5
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/flehrad/bigswitch/config.h b/keyboards/flehrad/bigswitch/config.h
index dbc8b329c6..e288eb343b 100644
--- a/keyboards/flehrad/bigswitch/config.h
+++ b/keyboards/flehrad/bigswitch/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B5 }
-#define MATRIX_COL_PINS { B6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
/* key combination for command */
#define IS_COMMAND() ( \
false \
diff --git a/keyboards/flehrad/bigswitch/info.json b/keyboards/flehrad/bigswitch/info.json
index 851672c35c..e19da4fb61 100644
--- a/keyboards/flehrad/bigswitch/info.json
+++ b/keyboards/flehrad/bigswitch/info.json
@@ -7,6 +7,11 @@
"pid": "0xB195",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B6"],
+ "rows": ["B5"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "caterina",
"debounce": 50,