From 9e64300e67720a5468c2585391250ca5579b311b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:00:24 +1100 Subject: Move matrix config to info.json, part 4 (#20001) --- keyboards/bioi/s65/config.h | 18 ------------------ keyboards/bioi/s65/info.json | 5 +++++ 2 files changed, 5 insertions(+), 18 deletions(-) (limited to 'keyboards/bioi/s65') diff --git a/keyboards/bioi/s65/config.h b/keyboards/bioi/s65/config.h index 6556560112..e9a0f89ab2 100644 --- a/keyboards/bioi/s65/config.h +++ b/keyboards/bioi/s65/config.h @@ -17,24 +17,6 @@ along with this program. If not, see . #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ - -#define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 } -#define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* RGB Underglow */ #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/bioi/s65/info.json b/keyboards/bioi/s65/info.json index b80b37b2ea..75359db964 100644 --- a/keyboards/bioi/s65/info.json +++ b/keyboards/bioi/s65/info.json @@ -8,6 +8,11 @@ "pid": "0x5365", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F1", "B3", "F4", "F5", "F6", "E6", "C7", "B2", "B1", "C6", "B6", "B5", "B4", "D7", "D4", "D5"], + "rows": ["D2", "D0", "D1", "F7", "D6"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B6", "levels": 12 -- cgit v1.2.3