pub fn process_scancode(
scancode: u8,
normal: &[u8; 128],
shift: &[u8; 128],
) -> Option<u8>Expand description
Process a single scancode byte with the given lookup tables.
Handles modifier tracking, extended scancode prefix (0xE0), caps lock inversion, and extended key dispatch (arrows, Home, End, Delete). Called from both PS/2 IRQ and task context (inject_hid_scancode).