diff --git a/src/Akela/Syster.cpp b/src/Akela/Syster.cpp index 2b52dc54..c79f47ad 100644 --- a/src/Akela/Syster.cpp +++ b/src/Akela/Syster.cpp @@ -50,9 +50,6 @@ namespace Akela { // --- hooks --- Key Syster::eventHandlerHook (Key mappedKey, byte row, byte col, uint8_t keyState) { - if (keyState & INJECTED) - return mappedKey; - if (!isActive) { if (!isSyster (mappedKey)) return mappedKey; @@ -64,6 +61,9 @@ namespace Akela { return Key_NoKey; } + if (keyState & INJECTED) + return mappedKey; + if (isSyster (mappedKey)) return Key_NoKey;