PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
ps2_mouse_packet_t Struct Reference

PS/2 mouse packet structure. More...

#include <ps2_mouse.h>

Collaboration diagram for ps2_mouse_packet_t:

Data Fields

ps2_mouse_packet_flags_t flags
 Packet flags.
 
int16_t deltaX
 X-axis movement.
 
int16_t deltaY
 Y-axis movement.
 

Detailed Description

PS/2 mouse packet structure.

The packet is received one member at a time from top to bottom.

Definition at line 37 of file ps2_mouse.h.

Field Documentation

◆ flags

ps2_mouse_packet_flags_t ps2_mouse_packet_t::flags

Packet flags.

Definition at line 39 of file ps2_mouse.h.

◆ deltaX

int16_t ps2_mouse_packet_t::deltaX

X-axis movement.

Definition at line 40 of file ps2_mouse.h.

◆ deltaY

int16_t ps2_mouse_packet_t::deltaY

Y-axis movement.

Definition at line 41 of file ps2_mouse.h.


The documentation for this struct was generated from the following file: