From 1f4e20cfdacc913b7d06fcd4533b92e8317e4504 Mon Sep 17 00:00:00 2001 From: alittlepeace Date: Sat, 19 Jun 2021 21:18:40 -0500 Subject: [PATCH] [Keyboard] YMDK Wings: enable Backlight (#12714) --- keyboards/ymdk/wings/config.h | 5 ++--- keyboards/ymdk/wings/rules.mk | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/keyboards/ymdk/wings/config.h b/keyboards/ymdk/wings/config.h index 3524ded278..b661e539a9 100644 --- a/keyboards/ymdk/wings/config.h +++ b/keyboards/ymdk/wings/config.h @@ -46,8 +46,7 @@ along with this program. If not, see . #define DIODE_DIRECTION ROW2COL #define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 3 +#define BACKLIGHT_LEVELS 5 #define LED_CAPS_LOCK_PIN C7 #define LED_PIN_ON_STATE 0 @@ -55,13 +54,13 @@ along with this program. If not, see . #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 14 +#define RGBLIGHT_ANIMATIONS #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGBLIGHT_ANIMATIONS #endif diff --git a/keyboards/ymdk/wings/rules.mk b/keyboards/ymdk/wings/rules.mk index f49426d513..76bad1f486 100644 --- a/keyboards/ymdk/wings/rules.mk +++ b/keyboards/ymdk/wings/rules.mk @@ -16,7 +16,7 @@ COMMAND_ENABLE = no # Commands for debug and configuration SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow BLUETOOTH_ENABLE = no # Enable Bluetooth AUDIO_ENABLE = no # Audio output