diff options
Diffstat (limited to 'keyboards/adafruit/macropad')
-rw-r--r-- | keyboards/adafruit/macropad/config.h | 1 | ||||
-rw-r--r-- | keyboards/adafruit/macropad/info.json | 4 | ||||
-rw-r--r-- | keyboards/adafruit/macropad/macropad.c | 14 | ||||
-rw-r--r-- | keyboards/adafruit/macropad/rules.mk | 1 |
4 files changed, 4 insertions, 16 deletions
diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h index c493c487e3..fa8465128c 100644 --- a/keyboards/adafruit/macropad/config.h +++ b/keyboards/adafruit/macropad/config.h @@ -49,7 +49,6 @@ #ifdef RGB_MATRIX_ENABLE /* RGB Defines */ -# define RGB_DI_PIN GP19 # define RGB_MATRIX_LED_COUNT 12 # define RGBLED_NUM 12 diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json index 75c859adb1..0324d1e817 100644 --- a/keyboards/adafruit/macropad/info.json +++ b/keyboards/adafruit/macropad/info.json @@ -16,6 +16,10 @@ "bootmagic": { "matrix": [1, 2] }, + "ws2812": { + "pin": "GP19", + "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 |