diff options
author | Brian Cully <bjc@kublai.com> | 2019-04-07 23:09:54 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-04-07 23:09:54 -0400 |
commit | 51ea94448e60795634448c58f9d6af63837c8aee (patch) | |
tree | 7d26a8fd7084f4468ef15491d245674a5fdb578b /Syster.cpp | |
parent | b4559fbbe1e0dbba522c59e32119dca7fc8bdf79 (diff) | |
download | Model01-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.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |