From 1a8ce8cab140fd8d0f56c1c5da155bbc49c27fa9 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 11 Feb 2017 23:15:00 +0100 Subject: [PATCH] The Big Rename Renamed the library to Kaleidoscope-LEDControl, and followed up with other renames. Signed-off-by: Gergely Nagy --- README.md | 6 +++--- library.properties | 6 +++--- src/BootAnimation.cpp | 2 +- ...eyboardio-LEDControl.cpp => Kaleidoscope-LEDControl.cpp} | 4 ++-- src/{Keyboardio-LEDControl.h => Kaleidoscope-LEDControl.h} | 6 +++--- src/LED-Off.h | 2 +- src/LEDUtils.h | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) rename src/{Keyboardio-LEDControl.cpp => Kaleidoscope-LEDControl.cpp} (97%) rename src/{Keyboardio-LEDControl.h => Kaleidoscope-LEDControl.h} (91%) diff --git a/README.md b/README.md index a74162ee..675d2c9a 100644 --- a/README.md +++ b/README.md @@ -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. - [fw]: https://github.com/keyboardio/KeyboardioFirmware + [fw]: https://github.com/keyboardio/Kaleidoscope diff --git a/library.properties b/library.properties index 55e9a724..ebaa64a3 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ -name=Keyboardio-LEDControl +name=Kaleidoscope-LEDControl version=0.0.1 author=Jesse Vincent maintainer=Jesse Vincent -sentence=LED control for Keyboardio boards. +sentence=LED control for Kaleidoscope. paragraph=... category=Communication -url=https://github.com/keyboardio/Keyboardio-LEDControl +url=https://github.com/keyboardio/Kaleidoscope-LEDControl architectures=avr diff --git a/src/BootAnimation.cpp b/src/BootAnimation.cpp index fe1318eb..3ba6d40f 100644 --- a/src/BootAnimation.cpp +++ b/src/BootAnimation.cpp @@ -1,5 +1,5 @@ #include "BootAnimation.h" -#include "Keyboardio-LEDControl.h" +#include "Kaleidoscope-LEDControl.h" #include "EEPROM.h" #define EEPROM_BOOT_ANIMATION_LOCATION 1 diff --git a/src/Keyboardio-LEDControl.cpp b/src/Kaleidoscope-LEDControl.cpp similarity index 97% rename from src/Keyboardio-LEDControl.cpp rename to src/Kaleidoscope-LEDControl.cpp index b9351cd4..30b24b36 100644 --- a/src/Keyboardio-LEDControl.cpp +++ b/src/Kaleidoscope-LEDControl.cpp @@ -1,4 +1,4 @@ -#include "Keyboardio-LEDControl.h" +#include "Kaleidoscope-LEDControl.h" LEDMode *LEDControl_::modes[LED_MAX_MODES]; uint8_t LEDControl_::previousMode, LEDControl_::mode; @@ -10,7 +10,7 @@ LEDMode::activate (void) { void LEDMode::begin(void) { - Keyboardio.use(&LEDControl, NULL); + Kaleidoscope.use(&LEDControl, NULL); LEDControl.mode_add(this); } diff --git a/src/Keyboardio-LEDControl.h b/src/Kaleidoscope-LEDControl.h similarity index 91% rename from src/Keyboardio-LEDControl.h rename to src/Kaleidoscope-LEDControl.h index ff388397..a6c678a1 100644 --- a/src/Keyboardio-LEDControl.h +++ b/src/Kaleidoscope-LEDControl.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #define LED_MAX_MODES 24 @@ -8,7 +8,7 @@ #define Key_LEDEffectNext (Key) { 0, KEY_FLAGS | SYNTHETIC | IS_INTERNAL | LED_TOGGLE } -class LEDMode : public KeyboardioPlugin { +class LEDMode : public KaleidoscopePlugin { public: virtual void begin (void); virtual void setup (void) {}; @@ -17,7 +17,7 @@ class LEDMode : public KeyboardioPlugin { virtual void activate (void); }; -class LEDControl_ : public KeyboardioPlugin { +class LEDControl_ : public KaleidoscopePlugin { public: LEDControl_(void); diff --git a/src/LED-Off.h b/src/LED-Off.h index 4f75d9bb..6ea7ca6d 100644 --- a/src/LED-Off.h +++ b/src/LED-Off.h @@ -1,6 +1,6 @@ #pragma once -#include "Keyboardio-LEDControl.h" +#include "Kaleidoscope-LEDControl.h" class LEDOff_ : public LEDMode { public: diff --git a/src/LEDUtils.h b/src/LEDUtils.h index ee0d851e..7fbfd8c3 100644 --- a/src/LEDUtils.h +++ b/src/LEDUtils.h @@ -1,6 +1,6 @@ #pragma once -#include +#include cRGB breath_compute (void); cRGB hsv_to_rgb(uint16_t h, uint16_t s, uint16_t v);