From dfa753445df25ee1dc5eadff948eba9acce7b393 Mon Sep 17 00:00:00 2001 From: Avii Date: Thu, 6 Aug 2026 11:01:42 +0200 Subject: [PATCH] 1786006902 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bc11d90..d5f9560 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ fn main() { trekstor.update(|ctx, state| { // retuyrningf false will exit loop - if ctx.input.is_just_released(KeyCode::BTN_TOUCH) { + if ctx.input.is_down(KeyCode::BTN_TOUCH) { println!("Released {}x{}", ctx.input.x, ctx.input.y); state.x = ctx.input.x; state.y = ctx.input.y;