35#include "../xhci_cmd.h"
37#define HID_GET_REPORT 0x01
38#define HID_GET_IDLE 0x02
39#define HID_GET_PROTOCOL 0x03
40#define HID_SET_REPORT 0x09
41#define HID_SET_IDLE 0x0A
42#define HID_SET_PROTOCOL 0x0B
struct _hid_desc_ HIDDescriptor
struct _hid_desc_link_ HIDDescriptorLink
void SetProtocol(USBDevice *dev, XHCISlot *slot, uint8_t slot_id)
Definition hid.cpp:139
void USBHidInitialise(USBDevice *dev, XHCISlot *slot, uint8_t classC, uint8_t subClassC, uint8_t prot)
Definition hid.cpp:509
unsigned char uint8_t
Definition acefiex.h:161
unsigned short int uint16_t
Definition acefiex.h:162
uint8_t bLength
Definition hid.h:54
HIDDescriptorLink links[1]
Definition hid.h:59
uint16_t bcdHID
Definition hid.h:56
uint8_t bDescriptorType
Definition hid.h:55
uint8_t bNumDescriptors
Definition hid.h:58
uint8_t bCountryCode
Definition hid.h:57
uint8_t length[2]
Definition hid.h:48
uint8_t type
Definition hid.h:47