[Keyboard] Added configurable defaults for RGB backlight parameters. (#5549)

* Added configurable defaults for RGB backlight indicators.

* Added more configurable defaults
This commit is contained in:
Wilba
2019-04-05 01:10:07 +11:00
committed by Drashna Jaelre
parent 3c7cb5cf5d
commit 852d125413
6 changed files with 64 additions and 4 deletions

View File

@@ -102,9 +102,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// disable backlight after timeout in minutes, 0 = no timeout
#define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
// the default brightness
#define RGB_BACKLIGHT_BRIGHTNESS 255
// the default effect (RGB test)
#define RGB_BACKLIGHT_EFFECT 255
// the default effect speed (0-3)
#define RGB_BACKLIGHT_EFFECT_SPEED 0
// the default color1 and color2
#define RGB_BACKLIGHT_COLOR_1 { .h = 0, .s = 255 }
#define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 }
#define DRIVER_COUNT 2
#define DRIVER_LED_TOTAL 64