summaryrefslogtreecommitdiff
path: root/keyboards/handwired/macroboard/f411
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/macroboard/f411')
-rw-r--r--keyboards/handwired/macroboard/f411/config.h4
-rw-r--r--keyboards/handwired/macroboard/f411/info.json8
-rw-r--r--keyboards/handwired/macroboard/f411/rules.mk1
3 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/handwired/macroboard/f411/config.h b/keyboards/handwired/macroboard/f411/config.h
index c7004fd520..cc951dcefc 100644
--- a/keyboards/handwired/macroboard/f411/config.h
+++ b/keyboards/handwired/macroboard/f411/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { A15, B3, B4, B5, B7 }
-#define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A10 }
-
#define AUDIO_INIT_DELAY
#define AUDIO_PIN B10
#define AUDIO_PWM_DRIVER PWMD2
diff --git a/keyboards/handwired/macroboard/f411/info.json b/keyboards/handwired/macroboard/f411/info.json
index 2517a82403..d7ff61f52b 100644
--- a/keyboards/handwired/macroboard/f411/info.json
+++ b/keyboards/handwired/macroboard/f411/info.json
@@ -1,4 +1,12 @@
{
+ "matrix_pins": {
+ "cols": ["B12", "B13", "B14", "B15", "A8", "A10"],
+ "rows": ["A15", "B3", "B4", "B5", "B7"]
+ },
+ "diode_direction": "COL2ROW",
+ "ws2812": {
+ "driver": "pwm"
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F411"
diff --git a/keyboards/handwired/macroboard/f411/rules.mk b/keyboards/handwired/macroboard/f411/rules.mk
index 2c7c409197..cdf33bfea5 100644
--- a/keyboards/handwired/macroboard/f411/rules.mk
+++ b/keyboards/handwired/macroboard/f411/rules.mk
@@ -9,7 +9,6 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = pwm
AUDIO_ENABLE = yes # Audio output
AUDIO_DRIVER = pwm_hardware
KEYBOARD_SHARED_EP = yes