Expand description
Components for the Touch Panel.
§Usage
Touch
// Just Touch
let touch =
components::touch::TouchComponent::new(board_kernel, ts, None, Some(screen))
.finalize(components::touch_component_static!());
// With Gesture
let touch =
components::touch::TouchComponent::new(board_kernel, ts, Some(ts), Some(screen))
.finalize(components::touch_component_static!());
Multi Touch
// Just Multi Touch
let touch =
components::touch::MultiTouchComponent::new(board_kernel, ts, None, Some(screen))
.finalize(components::touch_component_static!());
// With Gesture
let touch =
components::touch::MultiTouchComponent::new(board_kernel, ts, Some(ts), Some(screen))
.finalize(components::touch_component_static!());