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

poll_mouse

Function poll_mouse 

Source
pub fn poll_mouse()
Expand description

Poll for mouse data and push complete packets to the event buffer.

Legacy entry point – reads one byte from the PS/2 aux port if available and feeds it to poll_mouse_byte(). Prefer using the centralized polling in input_event::poll_all() instead, which correctly distinguishes keyboard vs mouse bytes and drains all pending data in a single call.