pub trait TouchPort {
type Error;
// Required method
fn poll_touch(
&mut self,
now_ms: u32,
) -> Result<Option<TouchEvent>, Self::Error>;
}Expand description
Low-level touch polling source.
Required Associated Types§
Required Methods§
Sourcefn poll_touch(&mut self, now_ms: u32) -> Result<Option<TouchEvent>, Self::Error>
fn poll_touch(&mut self, now_ms: u32) -> Result<Option<TouchEvent>, Self::Error>
Polls the next touch sample for the given time.