From 63f30ac35ec454c0fab1edc26f1c20d7f216dbb8 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 21 May 2017 23:15:06 -0700 Subject: [PATCH] Bring Syster up to the new key names --- examples/Syster/Syster.ino | 10 +++++----- src/Kaleidoscope/Syster.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/Syster/Syster.ino b/examples/Syster/Syster.ino index 9ae856fd..74a34653 100644 --- a/examples/Syster/Syster.ino +++ b/examples/Syster/Syster.ino @@ -26,19 +26,19 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { [0] = KEYMAP_STACKED ( Key_NoKey, Key_1, Key_2, Key_3, Key_4, Key_5, Key_NoKey, - Key_Backtick, Key_Q, Key_W, Key_E, Key_R, Key_T, Key_Tab, + Key_Backtick, Key_Q, Key_W, Key_E, Key_Right, Key_T, Key_Tab, Key_PageUp, Key_A, Key_S, Key_D, Key_F, Key_G, - Key_PageDn, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Esc, + Key_PageDown, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Escape, - Key_LCtrl, Key_Backspace, Key_LGUI, Key_LShift, + Key_LeftControl, Key_Backspace, Key_LGui, Key_LShift, SYSTER, Key_skip, Key_6, Key_7, Key_8, Key_9, Key_0, Key_skip, Key_Enter, Key_Y, Key_U, Key_I, Key_O, Key_P, Key_Equals, - Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote, + Key_H, Key_J, Key_K, Key_Left, Key_Semicolon, Key_Quote, Key_skip, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus, - Key_RShift, Key_RAlt, Key_Space, Key_RCtrl, + Key_RightShift, Key_RAlt, Key_Spacebar, Key_RControl, SYSTER ), }; diff --git a/src/Kaleidoscope/Syster.cpp b/src/Kaleidoscope/Syster.cpp index 7ad31bab..be9f587a 100644 --- a/src/Kaleidoscope/Syster.cpp +++ b/src/Kaleidoscope/Syster.cpp @@ -71,7 +71,7 @@ namespace KaleidoscopePlugins { return Key_NoKey; if (key_toggled_off (keyState)) { - if (mappedKey == Key_Space) { + if (mappedKey == Key_Spacebar) { for (uint8_t i = 0; i <= symbolPos; i++) { handle_keyswitch_event (Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); Keyboard.sendReport ();