summaryrefslogtreecommitdiff
path: root/keyboards/adafruit
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/adafruit')
-rw-r--r--keyboards/adafruit/macropad/config.h19
-rw-r--r--keyboards/adafruit/macropad/info.json11
-rw-r--r--keyboards/adafruit/macropad/rules.mk4
3 files changed, 11 insertions, 23 deletions
diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h
index 99f4477990..7f1170ef37 100644
--- a/keyboards/adafruit/macropad/config.h
+++ b/keyboards/adafruit/macropad/config.h
@@ -16,23 +16,6 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 3
-
-/* Keyboard Matrix Assignments */
-// clang-format off
-#define DIRECT_PINS { \
- { NO_PIN, NO_PIN, GP0 }, \
- { GP1, GP2, GP3 }, \
- { GP4, GP5, GP6 }, \
- { GP7, GP8, GP9 }, \
- { GP10, GP11, GP12 } \
-}
-// clang-format on
-
/* OLED SPI Defines */
#define OLED_DISPLAY_128X64
#define OLED_IC OLED_IC_SH1106
@@ -58,8 +41,6 @@
#define ENCODERS_PAD_A { GP18 }
#define ENCODERS_PAD_B { GP17 }
-#define DEBOUNCE 5
-
/* Bootmagic lite */
/* (Press the key below the encoder button while plugging the keyboard to enter the bootloader and clear flash) */
#define BOOTMAGIC_LITE_ROW 1
diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json
index e9bd7d85b1..588c51b008 100644
--- a/keyboards/adafruit/macropad/info.json
+++ b/keyboards/adafruit/macropad/info.json
@@ -8,6 +8,17 @@
"pid": "0x0108",
"device_version": "0.0.1"
},
+ "processor": "RP2040",
+ "bootloader": "rp2040",
+ "matrix_pins": {
+ "direct": [
+ [null, null, "GP0"],
+ ["GP1", "GP2", "GP3"],
+ ["GP4", "GP5", "GP6"],
+ ["GP7", "GP8", "GP9"],
+ ["GP10", "GP11", "GP12"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/adafruit/macropad/rules.mk b/keyboards/adafruit/macropad/rules.mk
index 3636424a71..0d1e17dde1 100644
--- a/keyboards/adafruit/macropad/rules.mk
+++ b/keyboards/adafruit/macropad/rules.mk
@@ -1,7 +1,3 @@
-# MCU name
-MCU = RP2040
-# Bootloader selection
-BOOTLOADER = rp2040
# Build Options
# change yes to no to disable
#