Update extapp_api.cpp

This commit is contained in:
Joachim Le Fournis
2020-04-08 13:35:26 +02:00
committed by GitHub
parent 68f6bbc378
commit ded69970ab

View File

@@ -269,7 +269,7 @@ int extapp_getKey(bool allowSuspend, bool *alphaWasActive) {
continue;
}
if (event.isKeyboardEvent()) {
key = event.id();
key = static_cast<uint8_t>(event);
if (key == 17 || key == 4 || key == 5 || key == 52) {
extapp_resetKeyboard();
}