diff options
author | GG <72414103+spbgzh@users.noreply.github.com> | 2022-07-29 07:41:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 21:41:42 -0700 |
commit | b5452581da84842ec1694391b53e7682b11832f9 (patch) | |
tree | 515500ba7729358f6e7f3e1657fce7a863164cea /keyboards/wuque/promise87/wkl | |
parent | 920f9837677749541b88b02ecb245539943140e2 (diff) |
[Keyboard] fix mistakes in promise87 config (#17830)
Diffstat (limited to 'keyboards/wuque/promise87/wkl')
-rw-r--r-- | keyboards/wuque/promise87/wkl/config.h | 14 | ||||
-rw-r--r-- | keyboards/wuque/promise87/wkl/rules.mk | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/keyboards/wuque/promise87/wkl/config.h b/keyboards/wuque/promise87/wkl/config.h index aebcac549e..c8fac0e451 100644 --- a/keyboards/wuque/promise87/wkl/config.h +++ b/keyboards/wuque/promise87/wkl/config.h @@ -39,3 +39,17 @@ #define LED_CAPS_LOCK_PIN F6 #define LED_PIN_ON_STATE 0 + +#define RGB_DI_PIN D2 +#ifdef RGB_DI_PIN + #define RGBLED_NUM 1 + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 + #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ + #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ +/*======= RGB function=======*/ +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_EFFECT_RAINBOW_MOOD +#define RGBLIGHT_EFFECT_STATIC_GRADIENT +#endif diff --git a/keyboards/wuque/promise87/wkl/rules.mk b/keyboards/wuque/promise87/wkl/rules.mk index bc2cad63d3..85a4a905a5 100644 --- a/keyboards/wuque/promise87/wkl/rules.mk +++ b/keyboards/wuque/promise87/wkl/rules.mk @@ -14,5 +14,5 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output |