USB Host Shield 2.0
|
#include "hid.h"
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)) |
#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)) |