(&mut self)
| 302 | /// Get the syspaths of the corresponding device nodes in /dev/input. |
| 303 | #[cfg(feature = "tokio")] |
| 304 | pub async fn enumerate_dev_nodes(&mut self) -> io::Result<DevNodes> { |
| 305 | let path = self.get_syspath()?; |
| 306 | let dir = tokio::fs::read_dir(path).await?; |
| 307 | |
| 308 | Ok(DevNodes { dir }) |
| 309 | } |
| 310 | |
| 311 | /// Post a batch of events to the virtual device. |
| 312 | /// |
nothing calls this directly
no test coverage detected