diff options
| author | alittlepeace <mandyskittie@Gmail.com> | 2021-06-19 21:18:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 19:18:40 -0700 |
| commit | 1f4e20cfdacc913b7d06fcd4533b92e8317e4504 (patch) | |
| tree | e72b7400603ad75ec40214d5c8b2af0faf2054da | |
| parent | c835d2e71dbc871483fdd62a31fc49a12e326170 (diff) | |
| download | qmk_firmware-1f4e20cfdacc913b7d06fcd4533b92e8317e4504.tar.gz qmk_firmware-1f4e20cfdacc913b7d06fcd4533b92e8317e4504.zip | |
[Keyboard] YMDK Wings: enable Backlight (#12714)
| -rw-r--r-- | keyboards/ymdk/wings/config.h | 5 | ||||
| -rw-r--r-- | 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 3524ded27..b661e539a 100644 --- a/keyboards/ymdk/wings/config.h +++ b/keyboards/ymdk/wings/config.h | |||
| @@ -46,8 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | #define DIODE_DIRECTION ROW2COL | 46 | #define DIODE_DIRECTION ROW2COL |
| 47 | 47 | ||
| 48 | #define BACKLIGHT_PIN B6 | 48 | #define BACKLIGHT_PIN B6 |
| 49 | #define BACKLIGHT_BREATHING | 49 | #define BACKLIGHT_LEVELS 5 |
| 50 | #define BACKLIGHT_LEVELS 3 | ||
| 51 | 50 | ||
| 52 | #define LED_CAPS_LOCK_PIN C7 | 51 | #define LED_CAPS_LOCK_PIN C7 |
| 53 | #define LED_PIN_ON_STATE 0 | 52 | #define LED_PIN_ON_STATE 0 |
| @@ -55,13 +54,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 55 | #define RGB_DI_PIN E2 | 54 | #define RGB_DI_PIN E2 |
| 56 | #ifdef RGB_DI_PIN | 55 | #ifdef RGB_DI_PIN |
| 57 | #define RGBLED_NUM 14 | 56 | #define RGBLED_NUM 14 |
| 57 | #define RGBLIGHT_ANIMATIONS | ||
| 58 | #define RGBLIGHT_HUE_STEP 8 | 58 | #define RGBLIGHT_HUE_STEP 8 |
| 59 | #define RGBLIGHT_SAT_STEP 8 | 59 | #define RGBLIGHT_SAT_STEP 8 |
| 60 | #define RGBLIGHT_VAL_STEP 8 | 60 | #define RGBLIGHT_VAL_STEP 8 |
| 61 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | 61 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |
| 62 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 62 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 63 | 63 | ||
| 64 | #define RGBLIGHT_ANIMATIONS | ||
| 65 | #endif | 64 | #endif |
| 66 | 65 | ||
| 67 | 66 | ||
diff --git a/keyboards/ymdk/wings/rules.mk b/keyboards/ymdk/wings/rules.mk index f49426d51..76bad1f48 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 | |||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | 18 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
| 22 | AUDIO_ENABLE = no # Audio output | 22 | AUDIO_ENABLE = no # Audio output |
