aboutsummaryrefslogtreecommitdiffstats
path: root/Syster.cpp
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-04-07 23:09:54 -0400
committerBrian Cully <bjc@kublai.com>2019-04-07 23:09:54 -0400
commit51ea94448e60795634448c58f9d6af63837c8aee (patch)
tree7d26a8fd7084f4468ef15491d245674a5fdb578b /Syster.cpp
parentb4559fbbe1e0dbba522c59e32119dca7fc8bdf79 (diff)
downloadModel01-Firmware-51ea94448e60795634448c58f9d6af63837c8aee.tar.gz
Model01-Firmware-51ea94448e60795634448c58f9d6af63837c8aee.zip
Switch to SpaceCadet from QuKeys. Update plugin namespaces.
Diffstat (limited to 'Syster.cpp')
-rw-r--r--Syster.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Syster.cpp b/Syster.cpp
index 3532347..afd7805 100644
--- a/Syster.cpp
+++ b/Syster.cpp
@@ -1,20 +1,20 @@
#include <Kaleidoscope-Syster.h>
#include <Kaleidoscope-Unicode.h>
-void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) {
+void systerAction(kaleidoscope::plugin::Syster::action_t action, const char *symbol) {
switch (action) {
- case kaleidoscope::Syster::StartAction:
+ case kaleidoscope::plugin::Syster::StartAction:
Unicode.type(0x2328);
break;
- case kaleidoscope::Syster::EndAction:
+ case kaleidoscope::plugin::Syster::EndAction:
handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED);
kaleidoscope::hid::sendKeyboardReport();
handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED);
kaleidoscope::hid::sendKeyboardReport();
break;
- case kaleidoscope::Syster::SymbolAction:
+ case kaleidoscope::plugin::Syster::SymbolAction:
Serial.print("systerAction = ");
Serial.println(symbol);
if (strcmp(symbol, "coffee") == 0) {