logo
pub trait TouchSystem {
    fn is_supported(&self) -> bool;
    fn max_points(&self) -> i32;
    fn down_signal(&self) -> &Signal1<TouchPoint>;
    fn move_signal(&self) -> &Signal1<TouchPoint>;
    fn up_signal(&self) -> &Signal1<TouchPoint>;
    fn points(&self) -> Vec<TouchPoint>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; }
Expand description

Functions related to the environment’s touch screen.

Required Methods

True if the environment has a touch screen.

The maximum number of touch points that can be detected at once.

Emits a new TouchPoint when a finger presses down on the screen.

Emits the modified TouchPoint when a finger changes position.

Emits the removed TouchPoint when a finger is raised from the screen.

The touch points currently pressed to the screen.

Implementors