USB Host Shield 2.0
Classes | Macros
hidboot.h File Reference
#include "hid.h"
Include dependency graph for hidboot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MOUSEINFO
 
class  MouseReportParser
 
struct  MODIFIERKEYS
 
struct  KBDINFO
 
struct  KBDLEDS
 
class  KeyboardReportParser
 
class  HIDBoot< BOOT_PROTOCOL >
 

Macros

#define UHS_HID_BOOT_KEY_ZERO   0x27
 
#define UHS_HID_BOOT_KEY_ENTER   0x28
 
#define UHS_HID_BOOT_KEY_SPACE   0x2c
 
#define UHS_HID_BOOT_KEY_CAPS_LOCK   0x39
 
#define UHS_HID_BOOT_KEY_SCROLL_LOCK   0x47
 
#define UHS_HID_BOOT_KEY_NUM_LOCK   0x53
 
#define UHS_HID_BOOT_KEY_ZERO2   0x62
 
#define UHS_HID_BOOT_KEY_PERIOD   0x63
 
#define bitsEndpoints(p)   ((((p) & HID_PROTOCOL_KEYBOARD)? 2 : 0) | (((p) & HID_PROTOCOL_MOUSE)? 1 : 0))
 
#define totalEndpoints(p)   ((bitsEndpoints(p) == 3) ? 3 : 2)
 
#define epMUL(p)   ((((p) & HID_PROTOCOL_KEYBOARD)? 1 : 0) + (((p) & HID_PROTOCOL_MOUSE)? 1 : 0))
 

Macro Definition Documentation

#define UHS_HID_BOOT_KEY_ZERO   0x27

Definition at line 22 of file hidboot.h.

#define UHS_HID_BOOT_KEY_ENTER   0x28

Definition at line 23 of file hidboot.h.

#define UHS_HID_BOOT_KEY_SPACE   0x2c

Definition at line 24 of file hidboot.h.

#define UHS_HID_BOOT_KEY_CAPS_LOCK   0x39

Definition at line 25 of file hidboot.h.

#define UHS_HID_BOOT_KEY_SCROLL_LOCK   0x47

Definition at line 26 of file hidboot.h.

#define UHS_HID_BOOT_KEY_NUM_LOCK   0x53

Definition at line 27 of file hidboot.h.

#define UHS_HID_BOOT_KEY_ZERO2   0x62

Definition at line 28 of file hidboot.h.

#define UHS_HID_BOOT_KEY_PERIOD   0x63

Definition at line 29 of file hidboot.h.

#define bitsEndpoints (   p)    ((((p) & HID_PROTOCOL_KEYBOARD)? 2 : 0) | (((p) & HID_PROTOCOL_MOUSE)? 1 : 0))

Definition at line 32 of file hidboot.h.

#define totalEndpoints (   p)    ((bitsEndpoints(p) == 3) ? 3 : 2)

Definition at line 33 of file hidboot.h.

#define epMUL (   p)    ((((p) & HID_PROTOCOL_KEYBOARD)? 1 : 0) + (((p) & HID_PROTOCOL_MOUSE)? 1 : 0))

Definition at line 34 of file hidboot.h.