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]
@ -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:
```c++
#include <Akela-Heatmap.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
void setup (void) {
Keyboardio.setup (KEYMAP_SIZE);
Keyboardio.use (&HeatmapEffect, NULL);
Kaleidoscope.setup (KEYMAP_SIZE);
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
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++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything
* Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy
*
* 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/>.
*/
#include <Akela-Heatmap.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED
@ -40,12 +41,12 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
};
void setup () {
Keyboardio.setup (KEYMAP_SIZE);
Keyboardio.use (&LEDControl, &HeatmapEffect, NULL);
Kaleidoscope.setup (KEYMAP_SIZE);
Kaleidoscope.use (&LEDControl, &HeatmapEffect, NULL);
HeatmapEffect.activate ();
}
void loop () {
Keyboardio.loop ();
Kaleidoscope.loop ();
}

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

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

@ -1,5 +1,5 @@
/* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything
* Kaleidoscope-Heatmap -- Heatmap LED effect for Kaleidoscope.
* Copyright (C) 2016, 2017 Gergely Nagy
*
* 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/>.
*/
#include <Akela-Heatmap.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-Heatmap.h>
namespace Akela {
namespace KaleidoscopePlugins {
uint8_t Heatmap::heatmap[ROWS][COLS];
uint16_t Heatmap::totalKeys;
uint8_t Heatmap::highestCount;
@ -119,4 +120,4 @@ namespace Akela {
}
};
Akela::Heatmap HeatmapEffect;
KaleidoscopePlugins::Heatmap HeatmapEffect;

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