diff options
Diffstat (limited to 'keyboards/polycarbdiet')
-rw-r--r-- | keyboards/polycarbdiet/s20/config.h | 8 | ||||
-rw-r--r-- | keyboards/polycarbdiet/s20/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h index 6cb2e62308..18844c7f95 100644 --- a/keyboards/polycarbdiet/s20/config.h +++ b/keyboards/polycarbdiet/s20/config.h @@ -16,14 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -// 1 2 3 4 5 -#define MATRIX_ROW_PINS { B7, E6, D0, D1, D5 } -#define MATRIX_COL_PINS { C6, C7, D4, D6 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION ROW2COL - #define RGB_DI_PIN B3 #define RGBLED_NUM 4 #define RGBLIGHT_HUE_STEP 8 diff --git a/keyboards/polycarbdiet/s20/info.json b/keyboards/polycarbdiet/s20/info.json index 5c2ce53150..1398f34cab 100644 --- a/keyboards/polycarbdiet/s20/info.json +++ b/keyboards/polycarbdiet/s20/info.json @@ -8,6 +8,11 @@ "pid": "0x7320", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["C6", "C7", "D4", "D6"], + "rows": ["B7", "E6", "D0", "D1", "D5"] + }, + "diode_direction": "ROW2COL", "backlight": { "pin": "B6", "breathing": true |