Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Description
A HID device has attached. The returned data pointer points to a USB_HID_DEVICE_ID structure.
1.4.2.3.2.23 EVENT_HID_BAD_REPORT_DESCRIPTOR Macro
File
usb_host_hid.h
Syntax
#define EVENT_HID_BAD_REPORT_DESCRIPTOR EVENT_HID_BASE + EVENT_HID_OFFSET + 9
Description
There was a problem parsing the report descriptor of the attached device. Communication with the device is not allowed,
and the device should be detached.
1.4.2.3.2.24 EVENT_HID_DETACH Macro
File
usb_host_hid.h
Syntax
#define EVENT_HID_DETACH EVENT_HID_BASE + EVENT_HID_OFFSET + 8
Description
A HID device has detached. The returned data pointer points to a byte with the previous address of the detached device.
1.4.2.3.2.25 EVENT_HID_NONE Macro
File
usb_host_hid.h
Syntax
#define EVENT_HID_NONE EVENT_HID_BASE + EVENT_HID_OFFSET + 0
Description
No event occured (NULL event)
1.4.2.3.2.26 EVENT_HID_OFFSET Macro
File
usb_host_hid.h
Syntax
#define EVENT_HID_OFFSET 0
Description
If the application has not defined an offset for HID events, set it to 0.
1.4.2.3.2.27 EVENT_HID_READ_DONE Macro
File
usb_host_hid.h
Syntax
#define EVENT_HID_READ_DONE EVENT_HID_BASE + EVENT_HID_OFFSET + 4
1.4 Library Interface MLA - USB Library Help Embedded Host API
193
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf