From 3f35cab706ec2faec9cdf3f9978033c06a63d226 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 30 Nov 2017 16:21:31 +0100 Subject: [PATCH] Drop an unnecessary handleKeyswitchEvent call Signed-off-by: Gergely Nagy --- src/Kaleidoscope/SpaceCadet.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Kaleidoscope/SpaceCadet.cpp b/src/Kaleidoscope/SpaceCadet.cpp index 072077a7..7fbd090a 100644 --- a/src/Kaleidoscope/SpaceCadet.cpp +++ b/src/Kaleidoscope/SpaceCadet.cpp @@ -163,7 +163,6 @@ Key SpaceCadet::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key //may want to even UNSET the originally pressed key (future //enhanacement?). This might also mean we don't need to return the //key that was pressed, though I haven't confirmed that. - handleKeyswitchEvent(mapped_key, row, col, INJECTED); handleKeyswitchEvent(alternate_key, row, col, IS_PRESSED | INJECTED); //Unflag the key so we don't try this again.