The Big Rename

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

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

@ -1,4 +1,4 @@
# Akela-GhostInTheFirmware
# Kaleidoscope-GhostInTheFirmware
![status][st:experimental]
@ -24,8 +24,9 @@ way to trigger starting the sequence, and a macro is the most convenient way for
that.
```c++
#include <Akela-GhostInTheFirmware.h>
#include <Keyboardio-Macros.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-GhostInTheFirmware.h>
#include <Kaleidoscope-Macros.h>
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (macroIndex == 0 && key_toggled_on (keyState))
@ -34,16 +35,16 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
return MACRO_NONE;
}
static const Akela::GhostInTheFirmware::GhostKey ghostKeys[] PROGMEM = {
static const KaleidoscopePlugins::GhostInTheFirmware::GhostKey ghostKeys[] PROGMEM = {
{0, 0, 200, 50},
{0, 0, 0}
};
void setup () {
Keyboardio.setup (KEYMAP_SIZE);
Kaleidoscope.setup (KEYMAP_SIZE);
GhostInTheFirmware.configure (ghostKeys);
Keyboardio.use (&GhostInTheFirmware, &Macros, NULL);
Kaleidoscope.use (&GhostInTheFirmware, &Macros, NULL);
}
```
@ -76,4 +77,4 @@ method:
Starting from the [example][plugin:example] is the recommended way of getting
started with the plugin.
[plugin:example]: https://github.com/keyboardio/Akela-GhostInTheFirmware/blob/master/examples/GhostInTheFirmware/GhostInTheFirmware.ino
[plugin:example]: https://github.com/keyboardio/Kaleidoscope-GhostInTheFirmware/blob/master/examples/GhostInTheFirmware/GhostInTheFirmware.ino

@ -1,5 +1,5 @@
/* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything
* Kaleidoscope-GhostInTheFirmware -- Let the keyboard write for you!
* Copyright (C) 2017 Gergely Nagy
*
* This program is free software: you can redistribute it and/or modify
@ -16,10 +16,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Akela-GhostInTheFirmware.h>
#include <Akela-LED-Stalker.h>
#include <Keyboardio-LEDControl.h>
#include <Keyboardio-Macros.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-GhostInTheFirmware.h>
#include <Kaleidoscope-LED-Stalker.h>
#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-Macros.h>
const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED
@ -53,7 +54,7 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
return MACRO_NONE;
}
static const Akela::GhostInTheFirmware::GhostKey ghostKeys[] PROGMEM = {
static const KaleidoscopePlugins::GhostInTheFirmware::GhostKey ghostKeys[] PROGMEM = {
{0, 6, 200, 50},
{0, 5, 200, 50},
{0, 4, 200, 50},
@ -125,16 +126,16 @@ static const Akela::GhostInTheFirmware::GhostKey ghostKeys[] PROGMEM = {
void setup () {
Serial.begin (9600);
Keyboardio.setup (KEYMAP_SIZE);
Kaleidoscope.setup (KEYMAP_SIZE);
GhostInTheFirmware.configure (ghostKeys);
StalkerEffect.configure (STALKER (BlazingTrail, NULL));
Keyboardio.use (&LEDControl, &GhostInTheFirmware, &StalkerEffect, &Macros,
NULL);
Kaleidoscope.use (&LEDControl, &GhostInTheFirmware, &StalkerEffect, &Macros,
NULL);
event_handler_hook_use (eventDropper);
}
void loop () {
Keyboardio.loop ();
Kaleidoscope.loop ();
}

@ -1,10 +1,10 @@
name=Akela-GhostInTheFirmware
name=Kaleidoscope-GhostInTheFirmware
version=0.0.0
author=Gergely Nagy
maintainer=Gergely Nagy <akela@gergo.csillger.hu>
maintainer=Gergely Nagy <kaleidoscope@gergo.csillger.hu>
sentence=Let the keyboard write for you!
paragraph=A slight variation of Macros, mostly for demo purposes.
category=Communication
url=https://github.com/keyboardio/Akela-GhostInTheFirmware
url=https://github.com/keyboardio/Kaleidoscope-GhostInTheFirmware
architectures=avr
dot_a_linkage=true

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

@ -1,5 +1,5 @@
/* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything
* Kaleidoscope-GhostInTheFirmware -- Let the keyboard write for you!
* Copyright (C) 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-GhostInTheFirmware.h>
#include <Kaleidoscope.h>
#include <Kaleidoscope-GhostInTheFirmware.h>
namespace Akela {
namespace KaleidoscopePlugins {
GhostInTheFirmware::GhostKey *GhostInTheFirmware::ghostKeys;
bool GhostInTheFirmware::isActive;
bool GhostInTheFirmware::isPressed;
@ -84,4 +85,4 @@ namespace Akela {
};
Akela::GhostInTheFirmware GhostInTheFirmware;
KaleidoscopePlugins::GhostInTheFirmware GhostInTheFirmware;

@ -1,5 +1,5 @@
/* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything
* Kaleidoscope-GhostInTheFirmware -- Let the keyboard write for you!
* Copyright (C) 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 <Kaleidoscope.h>
namespace Akela {
class GhostInTheFirmware : public KeyboardioPlugin {
namespace KaleidoscopePlugins {
class GhostInTheFirmware : public KaleidoscopePlugin {
public:
typedef struct {
byte row;
@ -50,4 +50,4 @@ namespace Akela {
};
extern Akela::GhostInTheFirmware GhostInTheFirmware;
extern KaleidoscopePlugins::GhostInTheFirmware GhostInTheFirmware;
Loading…
Cancel
Save