Skip to content

Struct SYN_USB_HID_MouseReport

ClassList > SYN_USB_HID_MouseReport

More...

  • #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

uint8_t SYN_USB_HID_MouseReport::buttons;

Button bitmask (Left=0x01, Right=0x02, Middle=0x04)


variable wheel

int8_t SYN_USB_HID_MouseReport::wheel;

Relative vertical scroll wheel (-127 to +127)


variable x

int8_t SYN_USB_HID_MouseReport::x;

Relative X displacement (-127 to +127)


variable y

int8_t SYN_USB_HID_MouseReport::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