pull/389/head
Jesse Vincent 8 years ago
parent 0238bd29ed
commit 381d1460f4
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -50,10 +50,10 @@ namespace KaleidoscopePlugins {
// If a key has been just toggled on... // If a key has been just toggled on...
if (key_toggled_on (keyState)) { if (key_toggled_on (keyState)) {
if (mappedKey.raw == Key_LShift.raw) { // if it is LShift, remember it if (mappedKey.raw == Key_LeftShift.raw) { // if it is LShift, remember it
bitWrite (parenNeeded, 0, 1); bitWrite (parenNeeded, 0, 1);
startTime = millis (); startTime = millis ();
} else if (mappedKey.raw == Key_RShift.raw) { // if it is RShift, remember it } else if (mappedKey.raw == Key_RightShift.raw) { // if it is RShift, remember it
bitWrite (parenNeeded, 1, 1); bitWrite (parenNeeded, 1, 1);
startTime = millis (); startTime = millis ();
} else { // if it is something else, we do not need a paren at the end. } else { // if it is something else, we do not need a paren at the end.

Loading…
Cancel
Save