Struct usbd_hid::descriptor::MouseReport [−][src]
#[repr(C, packed)]pub struct MouseReport {
pub buttons: u8,
pub x: i8,
pub y: i8,
pub wheel: i8,
pub pan: i8,
}
Expand description
MouseReport describes a report and its companion descriptor than can be used to send mouse movements and button presses to a host.
Fields
x: i8
y: i8
wheel: i8
pan: i8