The Big Rename

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

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

@ -1,4 +1,4 @@
# Akela-SpaceCadet # Kaleidoscope-SpaceCadet
![status][st:stable] ![status][st:stable]
@ -30,11 +30,12 @@ Using the plugin with its defaults is as simple as including the header, and
enabling the plugin: enabling the plugin:
```c++ ```c++
#include <Akela-SpaceCadet.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-SpaceCadet.h>
void setup () { void setup () {
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&SpaceCadetShift, NULL); Kaleidoscope.use (&SpaceCadetShift, NULL);
} }
``` ```
@ -59,7 +60,7 @@ The plugin has a number of methods available on the `SpaceCadetShift` object:
```c++ ```c++
void setup () { void setup () {
SpaceCadetShift.configure(Key_8, Key_9); SpaceCadetShift.configure(Key_8, Key_9);
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
} }
``` ```
@ -87,4 +88,4 @@ void setup () {
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-SpaceCadet/blob/master/examples/SpaceCadet/SpaceCadet.ino [plugin:example]: https://github.com/keyboardio/Kaleidoscope-SpaceCadet/blob/master/examples/SpaceCadet/SpaceCadet.ino

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-SpaceCadet -- Space Cadet Shift
* 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-SpaceCadet.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-SpaceCadet.h>
const Key keymaps[][ROWS][COLS] PROGMEM = { const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED [0] = KEYMAP_STACKED
@ -40,10 +41,10 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
}; };
void setup () { void setup () {
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&SpaceCadetShift, NULL); Kaleidoscope.use (&SpaceCadetShift, NULL);
} }
void loop () { void loop () {
Keyboardio.loop (); Kaleidoscope.loop ();
} }

@ -1,10 +1,10 @@
name=Akela-SpaceCadet name=Kaleidoscope-SpaceCadet
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=Space Cadet Shift for Keyboardio boards. sentence=Space Cadet Shift for Kaleidoscope.
paragraph=Turns Left/Right shift into Space Cadet Shifts. paragraph=Turns Left/Right shift into Space Cadet Shifts.
category=Communication category=Communication
url=https://github.com/keyboardio/Akela-SpaceCadet url=https://github.com/keyboardio/Kaleidoscope-SpaceCadet
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-SpaceCadet -- Space Cadet Shift
* 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/SpaceCadet.h> #include <Kaleidoscope/SpaceCadet.h>

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-SpaceCadet -- Space Cadet Shift
* 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,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-SpaceCadet.h> #include <Kaleidoscope-SpaceCadet.h>
namespace Akela { namespace KaleidoscopePlugins {
uint8_t SpaceCadetShift::parenNeeded; uint8_t SpaceCadetShift::parenNeeded;
uint32_t SpaceCadetShift::startTime; uint32_t SpaceCadetShift::startTime;
@ -118,4 +118,4 @@ namespace Akela {
}; };
Akela::SpaceCadetShift SpaceCadetShift; KaleidoscopePlugins::SpaceCadetShift SpaceCadetShift;

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-SpaceCadet -- Space Cadet Shift
* 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>
namespace Akela { namespace KaleidoscopePlugins {
class SpaceCadetShift : public KeyboardioPlugin { class SpaceCadetShift : public KaleidoscopePlugin {
public: public:
SpaceCadetShift (void); SpaceCadetShift (void);
@ -42,4 +42,4 @@ namespace Akela {
}; };
}; };
extern Akela::SpaceCadetShift SpaceCadetShift; extern KaleidoscopePlugins::SpaceCadetShift SpaceCadetShift;
Loading…
Cancel
Save