The Big Rename

Rename the library to Kaleidoscope-Heatmap, and follow up with other renames.

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

@ -1,4 +1,4 @@
# Akela-Heatmap # Kaleidoscope-Heatmap
![status][st:experimental] ![status][st:experimental]
@ -20,11 +20,12 @@ The plugin comes with reasonable defaults pre-configured, all one needs to do is
include the header, and make sure the plugin is in use: include the header, and make sure the plugin is in use:
```c++ ```c++
#include <Akela-Heatmap.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
void setup (void) { void setup (void) {
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&HeatmapEffect, NULL); Kaleidoscope.use (&HeatmapEffect, NULL);
} }
``` ```
@ -58,4 +59,4 @@ The plugin provides two methods on the `HeatmapEffect` object:
Starting from the [example][plugin:example] is the recommended way of getting Starting from the [example][plugin:example] is the recommended way of getting
started with the plugin. started with the plugin.
[plugin:example]: https://github.com/keyboardio/Akela-Heatmap/blob/master/examples/Heatmap/Heatmap.ino [plugin:example]: https://github.com/keyboardio/Kaleidoscope-Heatmap/blob/master/examples/Heatmap/Heatmap.ino

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy * Copyright (C) 2016, 2017 Gergely Nagy
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -16,7 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <Akela-Heatmap.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
const Key keymaps[][ROWS][COLS] PROGMEM = { const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED [0] = KEYMAP_STACKED
@ -40,12 +41,12 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
}; };
void setup () { void setup () {
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&LEDControl, &HeatmapEffect, NULL); Kaleidoscope.use (&LEDControl, &HeatmapEffect, NULL);
HeatmapEffect.activate (); HeatmapEffect.activate ();
} }
void loop () { void loop () {
Keyboardio.loop (); Kaleidoscope.loop ();
} }

@ -1,10 +1,10 @@
name=Akela-Heatmap name=Kaleidoscope-Heatmap
version=0.0.0 version=0.0.0
author=Gergely Nagy author=Gergely Nagy
maintainer=Gergely Nagy <akela@gergo.csillger.hu> maintainer=Gergely Nagy <kaleidoscope@gergo.csillger.hu>
sentence=Heatmap LED effect for Keyboardio boards. sentence=Heatmap LED effect for Kaleidoscope.
paragraph=Displays a heatmap via the LEDs under each key. paragraph=Displays a heatmap via the LEDs under each key.
category=Communication category=Communication
url=https://github.com/keyboardio/Akela-Heatmap url=https://github.com/keyboardio/Kaleidoscope-Heatmap
architectures=avr architectures=avr
dot_a_linkage=true dot_a_linkage=true

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy * Copyright (C) 2016, 2017 Gergely Nagy
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -18,4 +18,4 @@
#pragma once #pragma once
#include <Akela/Heatmap.h> #include <Kaleidoscope/Heatmap.h>

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy * Copyright (C) 2016, 2017 Gergely Nagy
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -16,9 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <Akela-Heatmap.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
namespace Akela { namespace KaleidoscopePlugins {
uint8_t Heatmap::heatmap[ROWS][COLS]; uint8_t Heatmap::heatmap[ROWS][COLS];
uint16_t Heatmap::totalKeys; uint16_t Heatmap::totalKeys;
uint8_t Heatmap::highestCount; uint8_t Heatmap::highestCount;
@ -119,4 +120,4 @@ namespace Akela {
} }
}; };
Akela::Heatmap HeatmapEffect; KaleidoscopePlugins::Heatmap HeatmapEffect;

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy * Copyright (C) 2016, 2017 Gergely Nagy
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -18,10 +18,10 @@
#pragma once #pragma once
#include <Akela-Core.h> #include <Kaleidoscope.h>
#include <Keyboardio-LEDControl.h> #include <Kaleidoscope-LEDControl.h>
namespace Akela { namespace KaleidoscopePlugins {
class Heatmap : public LEDMode { class Heatmap : public LEDMode {
public: public:
Heatmap (void); Heatmap (void);
@ -48,4 +48,4 @@ namespace Akela {
}; };
}; };
extern Akela::Heatmap HeatmapEffect; extern KaleidoscopePlugins::Heatmap HeatmapEffect;
Loading…
Cancel
Save