Crate pc_keyboard[−][src]
Driver for a PS/2 keyboard.
Only supports PS/2 Scan Code Set 2, on a UK English keyboard. See the OSDev Wiki.
Requires that you sample a pin in an interrupt routine and shift in the bit. We don't sample the pin in this library, as that makes testing difficult, and it means you have to make this object a global static mut that the interrupt can access, which is unsafe.
Modules
layouts |
Structs
KeyEvent | |
Keyboard | |
Modifiers |
Enums
DecodedKey | |
Error | |
KeyCode | |
KeyState |
Traits
KeyboardLayout |