1786004000
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user