Update to new handle_keyswitch_event API naming

pull/389/head
Jesse Vincent 8 years ago
parent a91048b8c6
commit d73b27eea7

@ -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))

Loading…
Cancel
Save