@ -37,8 +37,8 @@ enabling the plugin:
#include < Kaleidoscope-SpaceCadet.h >
#include < Kaleidoscope-SpaceCadet.h >
void setup () {
void setup () {
Kaleidoscope.setup (KEYMAP_SIZE );
Kaleidoscope.setup ();
Kaleidoscope.use (& SpaceCadetShift, NULL);
USE_PLUGINS (&SpaceCadetShift);
}
}
```
```
@ -63,19 +63,10 @@ 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);
Kaleidoscope.setup (KEYMAP_SIZE );
Kaleidoscope.setup ();
}
}
```
```
### `.on()`
> This method turns the SpaceCadet Shift behaviour on, if it was turned off.
### `.off()`
> Turns the SpaceCadet Shift behaviour off, making the `Shift` keys work as they
> did before, without the additional behaviour.
### `.timeOut`
### `.timeOut`
> The number of milliseconds to wait before considering a held key in isolation
> The number of milliseconds to wait before considering a held key in isolation