|
|
@ -32,8 +32,8 @@ static const Key topsyTurvyList[] PROGMEM = {
|
|
|
|
void setup () {
|
|
|
|
void setup () {
|
|
|
|
TopsyTurvy.configure (topsyTurvyList);
|
|
|
|
TopsyTurvy.configure (topsyTurvyList);
|
|
|
|
|
|
|
|
|
|
|
|
Kaleidoscope.setup (KEYMAP_SIZE);
|
|
|
|
Kaleidoscope.setup ();
|
|
|
|
Kaleidoscope.use (&TopsyTurvy, NULL);
|
|
|
|
USE_PLUGINS (&TopsyTurvy);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
@ -48,16 +48,6 @@ The plugin provides the `TopsyTurvy` object, with the following methods:
|
|
|
|
|
|
|
|
|
|
|
|
> Tells `TopsyTurvy` to use the specified list of keys.
|
|
|
|
> Tells `TopsyTurvy` to use the specified list of keys.
|
|
|
|
|
|
|
|
|
|
|
|
### `.on()`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> Turns the shift-inversion functionality on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `.off()`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> Turns the shift-inversion functionality off. In this case, no transformations
|
|
|
|
|
|
|
|
> will be applied, and even if keys pressed appear in the list, they will be
|
|
|
|
|
|
|
|
> ignored until the plugin is turned back on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Further reading
|
|
|
|
## Further reading
|
|
|
|
|
|
|
|
|
|
|
|
Starting from the [example][plugin:example] is the recommended way of getting
|
|
|
|
Starting from the [example][plugin:example] is the recommended way of getting
|
|
|
|