Added a function to toggle Qukeys on/off

pull/389/head
Michael Richters 7 years ago
parent f603e6d8d3
commit 6ca34d7f99

@ -80,6 +80,9 @@ class Qukeys : public KaleidoscopePlugin {
static void deactivate(void) { static void deactivate(void) {
active_ = false; active_ = false;
} }
static void toggle(void) {
active_ = !active_;
}
static void setTimeout(uint16_t time_limit) { static void setTimeout(uint16_t time_limit) {
time_limit_ = time_limit; time_limit_ = time_limit;
} }

Loading…
Cancel
Save