Method
send_multitouch
(
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
phase: &str,
)
Source from the content-addressed store, hash-verified
| 312 | } |
| 313 | |
| 314 | pub fn send_multitouch( |
| 315 | &self, |
| 316 | x1: f64, |
| 317 | y1: f64, |
| 318 | x2: f64, |
| 319 | y2: f64, |
| 320 | phase: &str, |
| 321 | ) -> Result<(), AppError> { |
| 322 | if self.is_tvos() { |
| 323 | return Err(AppError::bad_request( |
| 324 | "tvOS simulators do not support direct screen touch. Use Enter and arrow keys instead.", |
| 325 | )); |
| 326 | } |
| 327 | self.inner.native.send_multitouch(x1, y1, x2, y2, phase) |
| 328 | } |
| 329 | |
| 330 | pub fn send_key(&self, key_code: u16, modifiers: u32) -> Result<(), AppError> { |
| 331 | self.inner.native.send_key(key_code, modifiers) |
Callers
nothing calls this directly
Tested by
no test coverage detected