summaryrefslogtreecommitdiff
path: root/keyboards/littlealby
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/littlealby
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/littlealby')
-rw-r--r--keyboards/littlealby/mute/config.h13
-rw-r--r--keyboards/littlealby/mute/info.json5
2 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/littlealby/mute/config.h b/keyboards/littlealby/mute/config.h
index fa6ee15f1c..343830cf87 100644
--- a/keyboards/littlealby/mute/config.h
+++ b/keyboards/littlealby/mute/config.h
@@ -17,19 +17,6 @@
#define USB_MAX_POWER_CONSUMPTION 100
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-/* Default pinout */
-/* See arduino micro pinout: https://content.arduino.cc/assets/Pinout-Micro_latest.png
- * for pins e.g.
- * PB5 = digital pin 9 / analog pin 9
- */
-#define DIRECT_PINS { \
- {B5} \
-}
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B6
#define RGBLED_NUM 1
diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/info.json
index 02348599e5..ed6761b7a9 100644
--- a/keyboards/littlealby/mute/info.json
+++ b/keyboards/littlealby/mute/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["B5"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [ {"x": 0, "y": 0 }]