1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Touch-side support types for the CYD's `cyd` device abstraction.
//!
//! Apps read calibrated screen-space events via [`TouchEvent`]. Devices also
//! implement [`super::CydTouchUncalibrated`] so the shared touch-calibration
//! flow in [`calibration`] can read raw controller samples and transition
//! into a calibrated [`super::CydTouch`].
pub
pub
use Point;
/// A touch event in screen coordinates (already calibrated and mapped).
///
/// See the [`super::Cyd`] trait documentation for a usage example.
/// A raw XPT2046 touch sample in controller coordinates.
///
/// See the [touch calibration module documentation](calibration) for usage.
/// A raw XPT2046 touch event used by shared calibration flows.
///
/// See the [touch calibration module documentation](calibration) for usage.