The Big Rename

Renamed the library to Kaleidoscope-LEDControl, and followed up with other
renames.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent dddc014619
commit 1a8ce8cab1

@ -1,6 +1,6 @@
# Keyboardio-LEDControl # Kaleidoscope-LEDControl
This is a plugin for [KeyboardioFirmware][fw], for controlling the LEDs, and LED This is a plugin for [Kaleidoscope][fw], for controlling the LEDs, and LED
effects. effects.
[fw]: https://github.com/keyboardio/KeyboardioFirmware [fw]: https://github.com/keyboardio/Kaleidoscope

@ -1,9 +1,9 @@
name=Keyboardio-LEDControl name=Kaleidoscope-LEDControl
version=0.0.1 version=0.0.1
author=Jesse Vincent author=Jesse Vincent
maintainer=Jesse Vincent <jesse@keyboard.io> maintainer=Jesse Vincent <jesse@keyboard.io>
sentence=LED control for Keyboardio boards. sentence=LED control for Kaleidoscope.
paragraph=... paragraph=...
category=Communication category=Communication
url=https://github.com/keyboardio/Keyboardio-LEDControl url=https://github.com/keyboardio/Kaleidoscope-LEDControl
architectures=avr architectures=avr

@ -1,5 +1,5 @@
#include "BootAnimation.h" #include "BootAnimation.h"
#include "Keyboardio-LEDControl.h" #include "Kaleidoscope-LEDControl.h"
#include "EEPROM.h" #include "EEPROM.h"
#define EEPROM_BOOT_ANIMATION_LOCATION 1 #define EEPROM_BOOT_ANIMATION_LOCATION 1

@ -1,4 +1,4 @@
#include "Keyboardio-LEDControl.h" #include "Kaleidoscope-LEDControl.h"
LEDMode *LEDControl_::modes[LED_MAX_MODES]; LEDMode *LEDControl_::modes[LED_MAX_MODES];
uint8_t LEDControl_::previousMode, LEDControl_::mode; uint8_t LEDControl_::previousMode, LEDControl_::mode;
@ -10,7 +10,7 @@ LEDMode::activate (void) {
void void
LEDMode::begin(void) { LEDMode::begin(void) {
Keyboardio.use(&LEDControl, NULL); Kaleidoscope.use(&LEDControl, NULL);
LEDControl.mode_add(this); LEDControl.mode_add(this);
} }

@ -1,6 +1,6 @@
#pragma once #pragma once
#include <KeyboardioFirmware.h> #include <Kaleidoscope.h>
#define LED_MAX_MODES 24 #define LED_MAX_MODES 24
@ -8,7 +8,7 @@
#define Key_LEDEffectNext (Key) { 0, KEY_FLAGS | SYNTHETIC | IS_INTERNAL | LED_TOGGLE } #define Key_LEDEffectNext (Key) { 0, KEY_FLAGS | SYNTHETIC | IS_INTERNAL | LED_TOGGLE }
class LEDMode : public KeyboardioPlugin { class LEDMode : public KaleidoscopePlugin {
public: public:
virtual void begin (void); virtual void begin (void);
virtual void setup (void) {}; virtual void setup (void) {};
@ -17,7 +17,7 @@ class LEDMode : public KeyboardioPlugin {
virtual void activate (void); virtual void activate (void);
}; };
class LEDControl_ : public KeyboardioPlugin { class LEDControl_ : public KaleidoscopePlugin {
public: public:
LEDControl_(void); LEDControl_(void);

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Keyboardio-LEDControl.h" #include "Kaleidoscope-LEDControl.h"
class LEDOff_ : public LEDMode { class LEDOff_ : public LEDMode {
public: public:

@ -1,6 +1,6 @@
#pragma once #pragma once
#include <KeyboardioFirmware.h> #include <Kaleidoscope.h>
cRGB breath_compute (void); cRGB breath_compute (void);
cRGB hsv_to_rgb(uint16_t h, uint16_t s, uint16_t v); cRGB hsv_to_rgb(uint16_t h, uint16_t s, uint16_t v);

Loading…
Cancel
Save