aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-08-13 14:16:11 -0700
committerJesse Vincent <jesse@keyboard.io>2017-08-14 15:46:27 -0700
commitd79917e5fbc6912e6c41195f0e64f912df48ce1b (patch)
tree093c25858b9bfd1e2846065a230dca561e1811a7
parent384ee30f55639b8728e882660e65917a9d302bda (diff)
downloadModel01-Firmware-d79917e5fbc6912e6c41195f0e64f912df48ce1b.tar.gz
Model01-Firmware-d79917e5fbc6912e6c41195f0e64f912df48ce1b.zip
First pass at adding in the boot greeting plugin to make the LED key
glow on boot
-rw-r--r--Model01-Firmware.ino6
1 files changed, 4 insertions, 2 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino
index 61ec329..ccbfb8b 100644
--- a/Model01-Firmware.ino
+++ b/Model01-Firmware.ino
@@ -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);