Struct usbd_hid::descriptor::KeyboardReport [−][src]
#[repr(C, packed)]pub struct KeyboardReport {
pub modifier: u8,
pub reserved: u8,
pub leds: u8,
pub keycodes: [u8; 6],
}
Expand description
KeyboardReport describes a report and its companion descriptor that can be used to send keyboard button presses to a host and receive the status of the keyboard LEDs.
Fields
modifier: u8
reserved: u8
leds: u8
keycodes: [u8; 6]