1
0

First pass at adding in the boot greeting plugin to make the LED key

glow on boot
This commit is contained in:
Jesse Vincent 2017-08-13 14:16:11 -07:00
parent 6a0888f316
commit d6435ac21c
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

View File

@ -16,6 +16,7 @@
#include "Kaleidoscope.h"
#include "LED-Off.h"
#include "Kaleidoscope-LEDEffect-BootGreeting.h"
#include "Kaleidoscope-LEDEffect-SolidColor.h"
#include "Kaleidoscope-LEDEffect-Breathe.h"
#include "Kaleidoscope-LEDEffect-Chase.h"
@ -115,7 +116,9 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
void setup() {
Kaleidoscope.setup(KEYMAP_SIZE);
BootKeyboard.begin();
Kaleidoscope.use(&TestMode,
Kaleidoscope.use(
&BootGreetingEffect,
&TestMode,
&LEDControl, &LEDOff,
&LEDRainbowEffect, &LEDRainbowWaveEffect, &LEDChaseEffect,
&solidRed, &solidOrange, &solidYellow, &solidGreen, &solidBlue, &solidIndigo, &solidViolet,
@ -123,7 +126,6 @@ void setup() {
&AlphaSquareEffect,
&StalkerEffect,
&NumLock,
&Macros,
&MouseKeys,
NULL);