(&self, key_vals: &mut AttributeSet<KeyCode>)
| 503 | /// [`get_key_state`](Self::get_key_state) instead. |
| 504 | #[inline] |
| 505 | pub fn update_key_state(&self, key_vals: &mut AttributeSet<KeyCode>) -> io::Result<()> { |
| 506 | unsafe { sys::eviocgkey(self.as_raw_fd(), key_vals.as_mut_raw_slice())? }; |
| 507 | Ok(()) |
| 508 | } |
| 509 | |
| 510 | /// Fetch the current kernel absolute axis state directly into the provided buffer. |
| 511 | /// If you don't already have a buffer, you probably want |
no test coverage detected