Trait pc_keyboard::ScancodeSet
source · 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.