(&self)
| 457 | /// Retrieve the current keypress state directly via kernel syscall. |
| 458 | #[inline] |
| 459 | pub fn get_key_state(&self) -> io::Result<AttributeSet<KeyCode>> { |
| 460 | let mut key_vals = AttributeSet::new(); |
| 461 | self.update_key_state(&mut key_vals)?; |
| 462 | Ok(key_vals) |
| 463 | } |
| 464 | |
| 465 | /// Retrieve the current absolute axis state directly via kernel syscall. |
| 466 | #[inline] |
nothing calls this directly
no test coverage detected