pub trait ScancodeSet {
// Required method
fn advance_state(&mut self, code: u8) -> Result<Option<KeyEvent>, Error>;
}Expand description
A mechanism to convert bytes from a Keyboard into KeyCode values.
This conversion is stateful.
pub trait ScancodeSet {
// Required method
fn advance_state(&mut self, code: u8) -> Result<Option<KeyEvent>, Error>;
}A mechanism to convert bytes from a Keyboard into KeyCode values.
This conversion is stateful.