Updated to use Keyboardio-LEDControl

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 8fdbf016ad
commit a8abf11b11

@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup () {
Keyboardio.setup (KEYMAP_SIZE);
Keyboardio.use (&LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect, NULL);
Keyboardio.use (&LEDControl, &LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect, NULL);
MiamiEffect.activate ();
}

@ -41,7 +41,7 @@ namespace Akela {
// Special keys are always modColor
if (k.flags != 0) {
led_set_crgb_at (r, c, modColor);
LEDControl.led_set_crgb_at (r, c, modColor);
continue;
}
@ -61,7 +61,7 @@ namespace Akela {
break;
}
led_set_crgb_at (r, c, color);
LEDControl.led_set_crgb_at (r, c, color);
}
}
}

@ -19,6 +19,7 @@
#pragma once
#include <Akela-Core.h>
#include <Keyboardio-LEDControl.h>
namespace Akela {
namespace LEDEffects {

Loading…
Cancel
Save