Skip to content

Commit 111786e

Browse files
committed
Hold back to change idle animation
1 parent a79d58b commit 111786e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

applications/desktop/views/desktop_view_main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ bool desktop_main_input(InputEvent* event, void* context) {
5151
} else if(event->type == InputTypeLong) {
5252
if(event->key == InputKeyDown) {
5353
main_view->callback(DesktopMainEventOpenDebug, main_view->context);
54-
}
54+
} else if (event->key == InputKeyBack) {
55+
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context); // Change the idle animation if you long-press back. - Xander 3/29/2022
56+
}
5557
}
5658

5759
return true;

0 commit comments

Comments
 (0)