fn handle_kb_interrupt(keys: Vec<u8>) -> Vec<Key> {
    // switch statements or dictionary to map u8 to key
    let result: Vec<Key> = Vec::new();

    let mapping = {
        // 0 : L_SHIFT // something like this
    };

    result
}
// basically read() when the keyboard causes an interrupt at the interrupt multiplexer
basically read() when the keyboard causes an interrupt at the interrupt multiplexer
basically read () when the keyboard causes an interrupt at the interrupt multiplexer
fn handle_kb_interrupt(keys: Vec<u8>) -> Vec<Key> {
    // switch statements or dictionary to map u8 to key
    let result: Vec<Key> = Vec::new();
    let mapping = {
        // 0 : L_SHIFT // something like this
    };
    result
}
fn handle_kb_interrupt ( keys : Vec < u8 > ) -> Vec < Key > { // switch statements or dictionary to map u8 to key let result : Vec < Key > = Vec :: new ( ) ; let mapping = { // 0 : L_SHIFT // something like this } ; result }
basically read() when the keyboard causes an interrupt at the interrupt multiplexer
basically read () when the keyboard causes an interrupt at the interrupt multiplexer
keys
Vec<u8>
keys
Vec<u8>