Struct pc_keyboard::Ps2Decoder
source · pub struct Ps2Decoder { /* private fields */ }
Expand description
Handles decoding of IBM PS/2 Keyboard (and IBM PC/AT Keyboard) bit-streams.
Implementations§
source§impl Ps2Decoder
impl Ps2Decoder
sourcepub const fn new() -> Ps2Decoder
pub const fn new() -> Ps2Decoder
Build a new PS/2 protocol decoder.
sourcepub fn clear(&mut self)
pub fn clear(&mut self)
Clears the bit register.
Call this when there is a timeout reading data from the keyboard.