diff options
author | Wilba <Jason.S.Williams@gmail.com> | 2019-04-05 01:10:07 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-04 07:10:07 -0700 |
commit | 852d125413388aa3e71d2be91f04ddea534f2af3 (patch) | |
tree | cdf5a8791bd764f921fe8761dae9f89a96d321aa /keyboards/zeal60/rgb_backlight.c | |
parent | 3c7cb5cf5dbf9e97db9b98e32beca9ee58a1c246 (diff) | |
download | firmware-852d125413388aa3e71d2be91f04ddea534f2af3.tar.gz firmware-852d125413388aa3e71d2be91f04ddea534f2af3.tar.bz2 firmware-852d125413388aa3e71d2be91f04ddea534f2af3.zip |
[Keyboard] Added configurable defaults for RGB backlight parameters. (#5549)
* Added configurable defaults for RGB backlight indicators.
* Added more configurable defaults
Diffstat (limited to 'keyboards/zeal60/rgb_backlight.c')
-rw-r--r-- | keyboards/zeal60/rgb_backlight.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/zeal60/rgb_backlight.c b/keyboards/zeal60/rgb_backlight.c index 8d7a7fe8d..d5f206fdc 100644 --- a/keyboards/zeal60/rgb_backlight.c +++ b/keyboards/zeal60/rgb_backlight.c @@ -69,11 +69,11 @@ backlight_config g_config = { .disable_hhkb_blocker_leds = RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS, .disable_when_usb_suspended = RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED, .disable_after_timeout = RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT, - .brightness = 255, + .brightness = RGB_BACKLIGHT_BRIGHTNESS, .effect = RGB_BACKLIGHT_EFFECT, - .effect_speed = 0, - .color_1 = { .h = 0, .s = 255 }, - .color_2 = { .h = 127, .s = 255 }, + .effect_speed = RGB_BACKLIGHT_EFFECT_SPEED, + .color_1 = RGB_BACKLIGHT_COLOR_1, + .color_2 = RGB_BACKLIGHT_COLOR_2, .caps_lock_indicator = RGB_BACKLIGHT_CAPS_LOCK_INDICATOR, .layer_1_indicator = RGB_BACKLIGHT_LAYER_1_INDICATOR, .layer_2_indicator = RGB_BACKLIGHT_LAYER_2_INDICATOR, |