From 68f6bbc3783b169147ed1f4329d298d30e2c8b64 Mon Sep 17 00:00:00 2001 From: Joachim Le Fournis <43498612+RedGl0w@users.noreply.github.com> Date: Wed, 8 Apr 2020 13:23:59 +0200 Subject: [PATCH 1/2] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 19b468655..8284adfa4 100644 --- a/Makefile +++ b/Makefile @@ -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) From ded69970abe6afc190a55dc4d250dfce71658351 Mon Sep 17 00:00:00 2001 From: Joachim Le Fournis <43498612+RedGl0w@users.noreply.github.com> Date: Wed, 8 Apr 2020 13:35:26 +0200 Subject: [PATCH 2/2] Update extapp_api.cpp --- apps/external/extapp_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/external/extapp_api.cpp b/apps/external/extapp_api.cpp index 248fc6ee2..eefd19f58 100644 --- a/apps/external/extapp_api.cpp +++ b/apps/external/extapp_api.cpp @@ -269,7 +269,7 @@ int extapp_getKey(bool allowSuspend, bool *alphaWasActive) { continue; } if (event.isKeyboardEvent()) { - key = event.id(); + key = static_cast(event); if (key == 17 || key == 4 || key == 5 || key == 52) { extapp_resetKeyboard(); }