1786004000
This commit is contained in:
@@ -10,8 +10,8 @@ fn main() {
|
|||||||
|
|
||||||
trekstor.update(|screen, input| {
|
trekstor.update(|screen, input| {
|
||||||
// retuyrningf false will exit loop
|
// retuyrningf false will exit loop
|
||||||
if input.is_just_pressed(KeyCode::BTN_TOUCH) {
|
if input.is_just_released(KeyCode::BTN_TOUCH) {
|
||||||
println!("Touched {}x{}", input.x, input.y);
|
println!("Released {}x{}", input.x, input.y);
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user