summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-08-13 14:16:11 -0700
committerJesse Vincent <jesse@keyboard.io>2017-08-13 15:17:49 -0700
commitd6435ac21cdaf9b8b9d21cdbbbbd2df7bbe49f9f (patch)
treec1aaf55be694fcea58a83fee1a3e63067307cc9b
parent6a0888f3165a2546d85f7677ee727605fa7a2e72 (diff)
downloadmodel01-firmware-d6435ac21cdaf9b8b9d21cdbbbbd2df7bbe49f9f.tar.gz
model01-firmware-d6435ac21cdaf9b8b9d21cdbbbbd2df7bbe49f9f.tar.bz2
model01-firmware-d6435ac21cdaf9b8b9d21cdbbbbd2df7bbe49f9f.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);