Updated to use the Keyboardio-LEDControl library

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

@ -41,7 +41,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup () {
Keyboardio.setup (KEYMAP_SIZE);
Keyboardio.use (&ActiveModColorEffect, NULL);
Keyboardio.use (&LEDControl, &ActiveModColorEffect, NULL);
ActiveModColorEffect.configure ({0x00, 0xff, 0xff});
}

@ -54,7 +54,7 @@ namespace Akela {
continue;
if (Keyboard.isModifierActive (k.keyCode))
led_set_crgb_at (r, c, highlightColor);
LEDControl.led_set_crgb_at (r, c, highlightColor);
}
}
}

@ -17,6 +17,7 @@
*/
#include <Akela-Core.h>
#include <Keyboardio-LEDControl.h>
namespace Akela {
namespace LEDEffects {

Loading…
Cancel
Save