⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

poll_mouse_byte

Function poll_mouse_byte 

Source
pub fn poll_mouse_byte(byte: u8)
Expand description

Process a single byte from the PS/2 auxiliary port.

Called by poll_all() in input_event.rs after reading a byte from port 0x60 that was identified as mouse data (status bit 5 set). Accumulates bytes into 3-byte packets and pushes complete mouse events to the ring buffer.