@ -63,7 +63,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
NUMPAD
};
static LEDSolidColor solidRed (60, 0, 0);
static LEDSolidColor solidOrange (60, 20, 0);
@ -116,15 +116,13 @@ Kaleidoscope_::focusHook(const char *command) {
return false;
switch (subCommand) {
case ON:
{
case ON: {
uint8_t layer = Serial.parseInt();
Layer.on(layer);
break;
}
case OFF:
case OFF: {
Layer.off(layer);
@ -60,7 +60,9 @@ class Kaleidoscope_ {
public:
Kaleidoscope_(void);
void setup(const byte keymap_count) { setup(); };
void setup(const byte keymap_count) {
setup();
void setup(void);
void loop(void);
void use(KaleidoscopePlugin *plugin, ...) __attribute__((sentinel));