XenevaOS
Loading...
Searching...
No Matches
hid.h
Go to the documentation of this file.
1
30#ifndef __HID_H__
31#define __HID_H__
32
33#include <stdint.h>
34
35
36/* USB Kernel Builtin Human Interface Device Driver */
37
38#define HID_GET_REPORT 0x01
39#define HID_GET_IDLE 0x02
40#define HID_GET_PROTOCOL 0x03
41#define HID_SET_REPORT 0x09
42#define HID_SET_IDLE 0x0A
43#define HID_SET_PROTOCOL 0x0B
44
45#pragma pack(push,1)
50#pragma pack(pop)
51
52#pragma pack(push,1)
61#pragma pack(pop)
62
63
64#endif
struct _hid_desc_ HIDDescriptor
struct _hid_desc_link_ HIDDescriptorLink
struct _hid_desc_link_ HIDDescriptorLink
unsigned char uint8_t
Definition acefiex.h:161
unsigned short int uint16_t
Definition acefiex.h:162
Definition hid.h:53
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