diff options
author | kakunpc <15257475+kakunpc@users.noreply.github.com> | 2019-07-26 04:30:15 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-07-25 12:30:15 -0700 |
commit | f204ed67f210b1dde20333727c79c47a5b70518a (patch) | |
tree | 7d5c32e6c00811afc482b91cb77d6adba87c4fff /keyboards/angel64/config.h | |
parent | f3acaff65bf3590d6151013af5c36e059e1a633a (diff) | |
download | qmk_firmware-f204ed67f210b1dde20333727c79c47a5b70518a.tar.gz qmk_firmware-f204ed67f210b1dde20333727c79c47a5b70518a.zip |
[Keyboard] Set RGBLIGHT ENABLE for angel64 (#6405)
* set RGBLIGHT
* remove default keymap RGB enable
* set limit value
* Revert "set limit value"
This reverts commit 2374b2aa204f05f7bcea8ed65623b0c46a011aa2.
Diffstat (limited to 'keyboards/angel64/config.h')
-rw-r--r-- | keyboards/angel64/config.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/angel64/config.h b/keyboards/angel64/config.h index 2289d66670..fb683bc153 100644 --- a/keyboards/angel64/config.h +++ b/keyboards/angel64/config.h @@ -48,16 +48,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // #define BACKLIGHT_BREATHING // #define BACKLIGHT_LEVELS 3 -// #define RGB_DI_PIN E2 -// #ifdef RGB_DI_PIN -// #define RGBLED_NUM 64 -// #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 */ -// /*== all animations enable ==*/ -// #define RGBLIGHT_ANIMATIONS +#define RGB_DI_PIN D3 +#ifdef RGB_DI_PIN + #define RGBLED_NUM 64 + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 + #define RGBLIGHT_LIMIT_VAL 25 /* The maximum brightness level */ + #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ + /*== all animations enable ==*/ + #define RGBLIGHT_ANIMATIONS // /*== or choose animations ==*/ // #define RGBLIGHT_EFFECT_BREATHING // #define RGBLIGHT_EFFECT_RAINBOW_MOOD @@ -74,7 +74,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // /*==== use exp() and sin() ====*/ // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 -// #endif +#endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 |