summaryrefslogtreecommitdiffstats
path: root/keyboards/adafruit/macropad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/adafruit/macropad')
-rw-r--r--keyboards/adafruit/macropad/info.json3
-rw-r--r--keyboards/adafruit/macropad/macropad.c14
-rw-r--r--keyboards/adafruit/macropad/rules.mk1
3 files changed, 3 insertions, 15 deletions
diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json
index 75c859adb1..9eb5301226 100644
--- a/keyboards/adafruit/macropad/info.json
+++ b/keyboards/adafruit/macropad/info.json
@@ -16,6 +16,9 @@
"bootmagic": {
"matrix": [1, 2]
},
+ "ws2812": {
+ "driver": "vendor"
+ },
"processor": "RP2040",
"bootloader": "rp2040",
"matrix_pins": {
diff --git a/keyboards/adafruit/macropad/macropad.c b/keyboards/adafruit/macropad/macropad.c
index 5cffdc6c97..819b5067d8 100644
--- a/keyboards/adafruit/macropad/macropad.c
+++ b/keyboards/adafruit/macropad/macropad.c
@@ -40,17 +40,3 @@ led_config_t g_led_config = { {
} };
#endif
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) { return false; }
- if (index == 0) {
- if (clockwise) {
- tap_code_delay(KC_VOLU, 10);
- } else {
- tap_code_delay(KC_VOLD, 10);
- }
- }
- return true;
-}
-#endif
diff --git a/keyboards/adafruit/macropad/rules.mk b/keyboards/adafruit/macropad/rules.mk
index 0d1e17dde1..eec8b1f6db 100644
--- a/keyboards/adafruit/macropad/rules.mk
+++ b/keyboards/adafruit/macropad/rules.mk
@@ -14,7 +14,6 @@ AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
-WS2812_DRIVER = vendor
OLED_ENABLE = yes
OLED_DRIVER = custom
# Project specific files