pub async fn tap_event_command(
x: u32,
y: u32,
width: u32,
height: u32,
tap_event_count: usize,
duration: Duration,
) -> Result<(), Error>Expand description
Simulates tap_event_count taps at coordinates (x, y) for a touchscreen with horizontal
resolution width and vertical resolution height. (x, y) should be specified in absolute
coordinations, with x normally in the range (0, width), y normally in the range
(0, height).
duration is divided equally between touch-down and touch-up event pairs, while the
transition between these pairs is immediate.