From 2ea24ad84ced60496b59d49f05be52444caa29a2 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 21 May 2017 23:10:03 -0700 Subject: [PATCH] Update for new Key defs --- src/Kaleidoscope/Escape-OneShot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope/Escape-OneShot.cpp b/src/Kaleidoscope/Escape-OneShot.cpp index ee9d2cfc..ec3a4179 100644 --- a/src/Kaleidoscope/Escape-OneShot.cpp +++ b/src/Kaleidoscope/Escape-OneShot.cpp @@ -32,7 +32,7 @@ namespace KaleidoscopePlugins { Key EscapeOneShot::eventHandlerHook (Key mappedKey, byte row, byte col, uint8_t keyState) { - if (mappedKey.raw != Key_Esc.raw || + if (mappedKey.raw != Key_Escape.raw || (keyState & INJECTED) || !key_toggled_on (keyState)) return mappedKey;