From d73b27eea7702a5ce75d5366400f3510bc181e35 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 27 Mar 2017 15:40:05 -0700 Subject: [PATCH] Update to new handle_keyswitch_event API naming --- src/Kaleidoscope/TopsyTurvy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kaleidoscope/TopsyTurvy.cpp b/src/Kaleidoscope/TopsyTurvy.cpp index 9adf5100..a15788d8 100644 --- a/src/Kaleidoscope/TopsyTurvy.cpp +++ b/src/Kaleidoscope/TopsyTurvy.cpp @@ -70,7 +70,7 @@ namespace KaleidoscopePlugins { if (!topsyTurvyModState) { if (key_is_pressed (keyState)) Keyboard.press (Key_LShift.keyCode); - handle_key_event (mappedKey, row, col, keyState | TOPSYTURVY); + handle_keyswitch_event (mappedKey, row, col, keyState | TOPSYTURVY); Keyboard.sendReport (); if (key_toggled_off (keyState)) Keyboard.release (Key_LShift.keyCode); @@ -78,7 +78,7 @@ namespace KaleidoscopePlugins { Keyboard.release (Key_LShift.keyCode); Keyboard.release (Key_RShift.keyCode); Keyboard.sendReport (); - handle_key_event (mappedKey, row, col, keyState | TOPSYTURVY); + handle_keyswitch_event (mappedKey, row, col, keyState | TOPSYTURVY); Keyboard.sendReport (); if (bitRead (topsyTurvyModState, 0))