void ps2_mouse_deinit(ps2_device_info_t *info)
Deinitialize a PS/2 mouse device.
ps2_mouse_packet_index_t
PS/2 mouse packet index.
uint64_t ps2_mouse_irq_register(ps2_device_info_t *info)
Register the IRQ handler for a PS/2 mouse device.
ps2_mouse_packet_flags_t
PS/2 mouse packet flags.
uint64_t ps2_mouse_init(ps2_device_info_t *info)
Initialize a PS/2 mouse device.
@ PS2_PACKET_BUTTON_RIGHT
@ PS2_PACKET_BUTTON_MIDDLE
PS/2 device information structure.
PS/2 mouse packet structure.
ps2_mouse_packet_flags_t flags
Packet flags.
int16_t deltaY
Y-axis movement.
int16_t deltaX
X-axis movement.
ps2_mouse_packet_t current
ps2_mouse_packet_index_t index