The Big Rename

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

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

@ -1,4 +1,4 @@
# Akela-Escape-OneShot # Kaleidoscope-Escape-OneShot
![status][st:stable] ![status][st:stable]
@ -16,13 +16,14 @@ To use the plugin, one needs to include the header, and activate it. No further
configuration is necessary. configuration is necessary.
```c++ ```c++
#include <Akela-OneShot.h> #include <Kaleidoscope.h>
#include <Akela-Escape-OneShot.h> #include <Kaleidoscope-OneShot.h>
#include <Kaleidoscope-Escape-OneShot.h>
void setup () { void setup () {
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&OneShot, &EscapeOneShot, NULL); Kaleidoscope.use (&OneShot, &EscapeOneShot, NULL);
} }
``` ```
@ -37,4 +38,4 @@ The plugin provides the `EscapeOneShot` object, which has no public methods.
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-Escape-OneShot/blob/master/examples/Escape-OneShot/Escape-OneShot.ino [plugin:example]: https://github.com/keyboardio/Kaleidoscope-Escape-OneShot/blob/master/examples/Escape-OneShot/Escape-OneShot.ino

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Escape-OneShot -- Turn ESC into a key that cancels OneShots, if active.
* 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,8 +16,9 @@
* 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-OneShot.h> #include <Kaleidoscope.h>
#include <Akela-Escape-OneShot.h> #include <Kaleidoscope-OneShot.h>
#include <Kaleidoscope-Escape-OneShot.h>
const Key keymaps[][ROWS][COLS] PROGMEM = { const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED [0] = KEYMAP_STACKED
@ -63,10 +64,10 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup () { void setup () {
OneShot.enableAuto (); OneShot.enableAuto ();
Keyboardio.use (&OneShot, &EscapeOneShot, NULL); Kaleidoscope.use (&OneShot, &EscapeOneShot, NULL);
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
} }
void loop () { void loop () {
Keyboardio.loop (); Kaleidoscope.loop ();
} }

@ -1,10 +1,10 @@
name=Akela-Escape-OneShot name=Kaleidoscope-Escape-OneShot
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=Turn ESC into a key that cancels OneShots, if active. sentence=Turn ESC into a key that cancels OneShots, if active.
paragraph=Cancel one-shots, if any are active, otherwise act as an ESC key. paragraph=Cancel one-shots, if any are active, otherwise act as an ESC key.
category=Communication category=Communication
url=https://github.com/keyboardio/Akela-Escape-OneShot url=https://github.com/keyboardio/Kaleidoscope-Escape-OneShot
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-Escape-OneShot -- Turn ESC into a key that cancels OneShots, if active.
* 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/Escape-OneShot.h> #include <Kaleidoscope/Escape-OneShot.h>

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Escape-OneShot -- Turn ESC into a key that cancels OneShots, if active.
* 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,10 +16,11 @@
* 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-OneShot.h> #include <Kaleidoscope.h>
#include <Akela-Escape-OneShot.h> #include <Kaleidoscope-OneShot.h>
#include <Kaleidoscope-Escape-OneShot.h>
namespace Akela { namespace KaleidoscopePlugins {
EscapeOneShot::EscapeOneShot (void) { EscapeOneShot::EscapeOneShot (void) {
} }
@ -45,4 +46,4 @@ namespace Akela {
} }
}; };
Akela::EscapeOneShot EscapeOneShot; KaleidoscopePlugins::EscapeOneShot EscapeOneShot;

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-Escape-OneShot -- Turn ESC into a key that cancels OneShots, if active.
* 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,10 +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-Core.h> #include <Kaleidoscope.h>
namespace Akela { namespace KaleidoscopePlugins {
class EscapeOneShot : public KeyboardioPlugin { class EscapeOneShot : public KaleidoscopePlugin {
public: public:
EscapeOneShot (void); EscapeOneShot (void);
@ -30,4 +30,4 @@ namespace Akela {
}; };
}; };
extern Akela::EscapeOneShot EscapeOneShot; extern KaleidoscopePlugins::EscapeOneShot EscapeOneShot;
Loading…
Cancel
Save