Skip to main content

Module hid

Module hid 

Source

Structs§

HidKeyboard
HidMouse
KeyEvent
MouseEvent

Constants§

HID_BOOT_KEYBOARD
HID_BOOT_MOUSE

Functions§

enumerate_device
get_keyboard
Returns keyboard.
get_mouse
Returns mouse.
init
Performs the init operation.
is_available
Returns whether available.
keyboard_count
Performs the keyboard count operation.
mouse_count
Performs the mouse count operation.
notify_transfer_complete
Called by xHCI IRQ handler when a transfer completes.
poll_all
Poll all HID devices and inject events into the unified keyboard/mouse buffers.