Struct SYN_USB_HID_MouseReport¶
ClassList > SYN_USB_HID_MouseReport
#include <syn_usb_hid_mouse.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | buttons |
| int8_t | wheel |
| int8_t | x |
| int8_t | y |
Detailed Description¶
Standard 4-byte USB HID Boot Mouse IN Report structure
Public Attributes Documentation¶
variable buttons¶
Button bitmask (Left=0x01, Right=0x02, Middle=0x04)
variable wheel¶
Relative vertical scroll wheel (-127 to +127)
variable x¶
Relative X displacement (-127 to +127)
variable y¶
Relative Y displacement (-127 to +127)
The documentation for this class was generated from the following file src/syntropic/drivers/syn_usb_hid_mouse.h