summaryrefslogtreecommitdiffstats
path: root/keyboards/sendyyeah/pix
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/sendyyeah/pix
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/sendyyeah/pix')
-rw-r--r--keyboards/sendyyeah/pix/config.h10
-rw-r--r--keyboards/sendyyeah/pix/info.json5
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/sendyyeah/pix/config.h b/keyboards/sendyyeah/pix/config.h
index 88242cd80c..03b5e62bb5 100644
--- a/keyboards/sendyyeah/pix/config.h
+++ b/keyboards/sendyyeah/pix/config.h
@@ -16,19 +16,9 @@
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 5
-
#define OLED_FONT_H "keymaps/default/glcdfont.c"
#define OLED_TIMEOUT 600000 // Turn of after 10 minutes
-/* Keyboard Matrix Assignments */
-#define DIRECT_PINS { \
- { C6, D7, E6, B4, F6 }, \
-}
-
#define ENCODERS_PAD_A { B1 }
#define ENCODERS_PAD_B { B3 }
diff --git a/keyboards/sendyyeah/pix/info.json b/keyboards/sendyyeah/pix/info.json
index 62e387e16b..d3e5b413a1 100644
--- a/keyboards/sendyyeah/pix/info.json
+++ b/keyboards/sendyyeah/pix/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["C6", "D7", "E6", "B4", "F6"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [