Merge branch 'RedGl0w-patch-1' into omega-hotfix

This commit is contained in:
Quentin
2020-04-08 13:47:41 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ include quiz/Makefile # Quiz needs to be included at the end
all_src = $(apps_src) $(escher_src) $(ion_src) $(kandinsky_src) $(liba_src) $(libaxx_src) $(poincare_src) $(python_src) $(runner_src) $(ion_device_flasher_src) $(ion_device_bench_src) $(tests_src)
# Make palette.h a dep for every source-file.
# This ensures that the theming engine works correctly.
$(call object_for,$(apps_src) $(tests_src)): $(BUILD_DIR)/escher/palette.h
$(call object_for,$(all_src)): $(BUILD_DIR)/escher/palette.h
all_objs = $(call object_for,$(all_src))
.SECONDARY: $(all_objs)

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();
}