From 2cdf99ae950a82e233482347651b7689c4896827 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 14 Feb 2023 18:39:41 +1100 Subject: Migrate `DIRECT_PINS` to data driven (#19826) --- keyboards/littlealby/mute/config.h | 13 ------------- keyboards/littlealby/mute/info.json | 5 +++++ 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'keyboards/littlealby') 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 }] -- cgit v1.2.3