From 54261b2283e4538fe00aa21d2d688268ca75715d Mon Sep 17 00:00:00 2001 From: Avii Date: Thu, 6 Aug 2026 10:13:20 +0200 Subject: [PATCH] 1786004000 --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fc321b8..7d07a47 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,8 +10,8 @@ fn main() { trekstor.update(|screen, input| { // retuyrningf false will exit loop - if input.is_just_pressed(KeyCode::BTN_TOUCH) { - println!("Touched {}x{}", input.x, input.y); + if input.is_just_released(KeyCode::BTN_TOUCH) { + println!("Released {}x{}", input.x, input.y); } true });