You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gergely Nagy
62f619a5c4
|
7 years ago | |
---|---|---|
examples/Escape-OneShot | 7 years ago | |
src | 7 years ago | |
.gitignore | 8 years ago | |
.travis.yml | 8 years ago | |
COPYING | 8 years ago | |
Makefile | 7 years ago | |
README.md | 7 years ago | |
library.properties | 8 years ago |
README.md
Kaleidoscope-Escape-OneShot
Turn the Esc
key into a special key, that can cancel any active OneShot
effect - or act as the normal Esc
key if none are active. For those times when
one accidentally presses a one-shot key, or change their minds.
Using the plugin
To use the plugin, one needs to include the header, and activate it. No further configuration is necessary.
#include <Kaleidoscope.h>
#include <Kaleidoscope-OneShot.h>
#include <Kaleidoscope-Escape-OneShot.h>
void setup () {
Kaleidoscope.use(&OneShot, &EscapeOneShot);
Kaleidoscope.setup ();
}
The plugin only makes sense when using one-shot keys.
Plugin methods
The plugin provides the EscapeOneShot
object, which has no public methods.
Dependencies
Further reading
Starting from the example is the recommended way of getting started with the plugin.