Update to new handle_keyswitch_event API naming

pull/389/head
Jesse Vincent 8 years ago
parent 1699ef4e7e
commit 37fa269ecb

@ -119,14 +119,14 @@ namespace KaleidoscopePlugins {
break;
case Interrupt:
case Timeout:
handle_key_event (key, lastTapDanceRow, lastTapDanceCol, IS_PRESSED | INJECTED);
handle_keyswitch_event (key, lastTapDanceRow, lastTapDanceCol, IS_PRESSED | INJECTED);
break;
case Hold:
handle_key_event (key, lastTapDanceRow, lastTapDanceCol, IS_PRESSED | WAS_PRESSED | INJECTED);
handle_keyswitch_event (key, lastTapDanceRow, lastTapDanceCol, IS_PRESSED | WAS_PRESSED | INJECTED);
break;
case Release:
Keyboard.sendReport ();
handle_key_event (key, lastTapDanceRow, lastTapDanceCol, WAS_PRESSED | INJECTED);
handle_keyswitch_event (key, lastTapDanceRow, lastTapDanceCol, WAS_PRESSED | INJECTED);
break;
}
}

Loading…
Cancel
Save