The Big Rename

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

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

@ -1,4 +1,4 @@
# Akela-TopsyTurvy # Kaleidoscope-TopsyTurvy
![status][st:stable] ![status][st:stable]
@ -17,7 +17,8 @@ To use the plugin, one needs to include the header, create a list, and configure
the provided `TopsyTurvy` object to use the dictionary: the provided `TopsyTurvy` object to use the dictionary:
```c++ ```c++
#include <Akela-TopsyTurvy.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-TopsyTurvy.h>
static const Key topsyTurvyList[] PROGMEM = { static const Key topsyTurvyList[] PROGMEM = {
Key_1, Key_2, Key_3, Key_4, Key_5, Key_1, Key_2, Key_3, Key_4, Key_5,
@ -28,8 +29,8 @@ static const Key topsyTurvyList[] PROGMEM = {
void setup () { void setup () {
TopsyTurvy.configure (topsyTurvyList); TopsyTurvy.configure (topsyTurvyList);
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&TopsyTurvy, NULL); Kaleidoscope.use (&TopsyTurvy, NULL);
} }
``` ```
@ -59,4 +60,4 @@ The plugin provides the `TopsyTurvy` object, with the following 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-TopsyTurvy/blob/master/examples/TopsyTurvy/TopsyTurvy.ino [plugin:example]: https://github.com/keyboardio/Kaleidoscope-TopsyTurvy/blob/master/examples/TopsyTurvy/TopsyTurvy.ino

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-TopsyTurvy -- Turn the effect of Shift upside down for certain keys
* Copyright (C) 2017 Gergely Nagy * Copyright (C) 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-TopsyTurvy.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-TopsyTurvy.h>
const Key keymaps[][ROWS][COLS] PROGMEM = { const Key keymaps[][ROWS][COLS] PROGMEM = {
[0] = KEYMAP_STACKED [0] = KEYMAP_STACKED
@ -48,10 +49,10 @@ static const Key topsyTurvyList[] PROGMEM = {
void setup () { void setup () {
TopsyTurvy.configure (topsyTurvyList); TopsyTurvy.configure (topsyTurvyList);
Keyboardio.setup (KEYMAP_SIZE); Kaleidoscope.setup (KEYMAP_SIZE);
Keyboardio.use (&TopsyTurvy, NULL); Kaleidoscope.use (&TopsyTurvy, NULL);
} }
void loop () { void loop () {
Keyboardio.loop (); Kaleidoscope.loop ();
} }

@ -1,10 +1,10 @@
name=Akela-TopsyTurvy name=Kaleidoscope-TopsyTurvy
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 the effect of Shift upside down for certain keys. sentence=Turn the effect of Shift upside down for certain keys.
paragraph=Make it possible to send an unshifted symbol with Shift held. paragraph=Make it possible to send an unshifted symbol with Shift held.
category=Communication category=Communication
url=https://github.com/keyboardio/Akela-TopsyTurvy url=https://github.com/keyboardio/Kaleidoscope-TopsyTurvy
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-TopsyTurvy -- Turn the effect of Shift upside down for certain keys
* Copyright (C) 2017 Gergely Nagy * Copyright (C) 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/TopsyTurvy.h> #include <Kaleidoscope/TopsyTurvy.h>

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-TopsyTurvy -- Turn the effect of Shift upside down for certain keys
* Copyright (C) 2017 Gergely Nagy * Copyright (C) 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,11 +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-TopsyTurvy.h> #include <Kaleidoscope-TopsyTurvy.h>
#define TOPSYTURVY 0b01000000 #define TOPSYTURVY 0b01000000
namespace Akela { namespace KaleidoscopePlugins {
const Key *TopsyTurvy::topsyTurvyList = NULL; const Key *TopsyTurvy::topsyTurvyList = NULL;
uint8_t TopsyTurvy::topsyTurvyModState; uint8_t TopsyTurvy::topsyTurvyModState;
@ -107,4 +107,4 @@ namespace Akela {
}; };
Akela::TopsyTurvy TopsyTurvy; KaleidoscopePlugins::TopsyTurvy TopsyTurvy;

@ -1,5 +1,5 @@
/* -*- mode: c++ -*- /* -*- mode: c++ -*-
* Akela -- Animated Keyboardio Extension Library for Anything * Kaleidoscope-TopsyTurvy -- Turn the effect of Shift upside down for certain keys
* Copyright (C) 2017 Gergely Nagy * Copyright (C) 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 TopsyTurvy: public KeyboardioPlugin { class TopsyTurvy: public KaleidoscopePlugin {
public: public:
TopsyTurvy (void); TopsyTurvy (void);
@ -41,4 +41,4 @@ namespace Akela {
}; };
}; };
extern Akela::TopsyTurvy TopsyTurvy; extern KaleidoscopePlugins::TopsyTurvy TopsyTurvy;
Loading…
Cancel
Save