Function bevy_internal::input::touch::touch_screen_input_system
source · pub fn touch_screen_input_system(
touch_state: ResMut<'_, Touches>,
touch_input_events: EventReader<'_, '_, TouchInput>
)
Expand description
Updates the Touches
resource with the latest TouchInput
events.
Differences
The main difference between the TouchInput
event and the Touches
resource is that
the latter has convenient functions like Touches::just_pressed
and Touches::just_released
.