From cf68ab1e970a55335eebb0e9a9f5ad6581eb027f Mon Sep 17 00:00:00 2001 From: nitepone Date: Sun, 3 Sep 2023 15:42:27 -0400 Subject: [PATCH] Catch Long Presses on D Pad Without this, if a user pressed a button too long in the main UI, the input would be completely ignored. --- intervalometer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intervalometer.c b/intervalometer.c index b0ad2b8..87b3be5 100644 --- a/intervalometer.c +++ b/intervalometer.c @@ -700,7 +700,8 @@ int32_t flipvalo_app() { case FVSceneMain: // TODO(luna) Maybe give this a function.. look howl clean FVSceneConfig is... if (event.type == EventTypeKey) { - if (event.input.type == InputTypeShort) { + if (event.input.type == InputTypeShort || + event.input.type == InputTypeLong) { switch (event.input.key) { case InputKeyUp: break;