Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
hid.h File Reference

Go to the source code of this file.

Macros

#define USB_INTERFACE_CLASS_HID   3
 
#define USB_INTERFACE_SUBCLASS_BOOT   1
 
#define USB_INTERFACE_PROTOCOL_KEYBOARD   1
 
#define USB_INTERFACE_PROTOCOL_MOUSE   2
 
#define HID_REQ_GET_REPORT   0x01
 
#define HID_REQ_GET_IDLE   0x02
 
#define HID_REQ_GET_PROTOCOL   0x03
 
#define HID_REQ_SET_REPORT   0x09
 
#define HID_REQ_SET_IDLE   0x0A
 
#define HID_REQ_SET_PROTOCOL   0x0B
 
#define HID_DT_HID   (USB_TYPE_CLASS | 0x01)
 
#define HID_DT_REPORT   (USB_TYPE_CLASS | 0x02)
 
#define HID_DT_PHYSICAL   (USB_TYPE_CLASS | 0x03)
 
#define HID_MAX_DESCRIPTOR_SIZE   4096
 

Macro Definition Documentation

#define HID_DT_HID   (USB_TYPE_CLASS | 0x01)

Definition at line 59 of file hid.h.

#define HID_DT_PHYSICAL   (USB_TYPE_CLASS | 0x03)

Definition at line 61 of file hid.h.

#define HID_DT_REPORT   (USB_TYPE_CLASS | 0x02)

Definition at line 60 of file hid.h.

#define HID_MAX_DESCRIPTOR_SIZE   4096

Definition at line 63 of file hid.h.

#define HID_REQ_GET_IDLE   0x02

Definition at line 49 of file hid.h.

#define HID_REQ_GET_PROTOCOL   0x03

Definition at line 50 of file hid.h.

#define HID_REQ_GET_REPORT   0x01

Definition at line 48 of file hid.h.

#define HID_REQ_SET_IDLE   0x0A

Definition at line 52 of file hid.h.

#define HID_REQ_SET_PROTOCOL   0x0B

Definition at line 53 of file hid.h.

#define HID_REQ_SET_REPORT   0x09

Definition at line 51 of file hid.h.

#define USB_INTERFACE_CLASS_HID   3

Definition at line 34 of file hid.h.

#define USB_INTERFACE_PROTOCOL_KEYBOARD   1

Definition at line 41 of file hid.h.

#define USB_INTERFACE_PROTOCOL_MOUSE   2

Definition at line 42 of file hid.h.

#define USB_INTERFACE_SUBCLASS_BOOT   1

Definition at line 40 of file hid.h.