USB_Host_Shield_2.0
|
#include <hidescriptorparser.h>
Public Types | |
enum | { enErrorSuccess = 0, enErrorIncomplete, enErrorBufferTooSmall } |
typedef void(* | UsagePageFunc )(uint16_t usage) |
Public Member Functions | |
ReportDescParserBase () | |
virtual void | Parse (const uint16_t len, const uint8_t *pbuf, const uint16_t &offset) |
Static Public Member Functions | |
static void | PrintGenericDesktopPageUsage (uint16_t usage) |
static void | PrintSimulationControlsPageUsage (uint16_t usage) |
static void | PrintVRControlsPageUsage (uint16_t usage) |
static void | PrintSportsControlsPageUsage (uint16_t usage) |
static void | PrintGameControlsPageUsage (uint16_t usage) |
static void | PrintGenericDeviceControlsPageUsage (uint16_t usage) |
static void | PrintLEDPageUsage (uint16_t usage) |
static void | PrintButtonPageUsage (uint16_t usage) |
static void | PrintOrdinalPageUsage (uint16_t usage) |
static void | PrintTelephonyPageUsage (uint16_t usage) |
static void | PrintConsumerPageUsage (uint16_t usage) |
static void | PrintDigitizerPageUsage (uint16_t usage) |
static void | PrintAlphanumDisplayPageUsage (uint16_t usage) |
static void | PrintMedicalInstrumentPageUsage (uint16_t usage) |
static void | PrintValue (uint8_t *p, uint8_t len) |
static void | PrintByteValue (uint8_t data) |
static void | PrintItemTitle (uint8_t prefix) |
Static Public Attributes | |
static const char * | usagePageTitles0 [] |
static const char * | usagePageTitles1 [] |
static const char * | genDesktopTitles0 [] |
static const char * | genDesktopTitles1 [] |
static const char * | genDesktopTitles2 [] |
static const char * | genDesktopTitles3 [] |
static const char * | genDesktopTitles4 [] |
static const char * | simuTitles0 [] |
static const char * | simuTitles1 [] |
static const char * | simuTitles2 [] |
static const char * | vrTitles0 [] |
static const char * | vrTitles1 [] |
static const char * | sportsCtrlTitles0 [] |
static const char * | sportsCtrlTitles1 [] |
static const char * | sportsCtrlTitles2 [] |
static const char * | gameTitles0 [] |
static const char * | gameTitles1 [] |
static const char * | genDevCtrlTitles [] |
static const char * | ledTitles [] |
static const char * | telTitles0 [] |
static const char * | telTitles1 [] |
static const char * | telTitles2 [] |
static const char * | telTitles3 [] |
static const char * | telTitles4 [] |
static const char * | telTitles5 [] |
static const char * | consTitles0 [] |
static const char * | consTitles1 [] |
static const char * | consTitles2 [] |
static const char * | consTitles3 [] |
static const char * | consTitles4 [] |
static const char * | consTitles5 [] |
static const char * | consTitles6 [] |
static const char * | consTitles7 [] |
static const char * | consTitles8 [] |
static const char * | consTitles9 [] |
static const char * | consTitlesA [] |
static const char * | consTitlesB [] |
static const char * | consTitlesC [] |
static const char * | consTitlesD [] |
static const char * | consTitlesE [] |
static const char * | digitTitles0 [] |
static const char * | digitTitles1 [] |
static const char * | digitTitles2 [] |
static const char * | aplphanumTitles0 [] |
static const char * | aplphanumTitles1 [] |
static const char * | aplphanumTitles2 [] |
static const char * | medInstrTitles0 [] |
static const char * | medInstrTitles1 [] |
static const char * | medInstrTitles2 [] |
static const char * | medInstrTitles3 [] |
static const char * | medInstrTitles4 [] |
Protected Member Functions | |
virtual uint8_t | ParseItem (uint8_t **pp, uint16_t *pcntdn) |
void | SetUsagePage (uint16_t page) |
Static Protected Member Functions | |
static void | PrintUsagePage (uint16_t page) |
Protected Attributes | |
MultiValueBuffer | theBuffer |
MultiByteValueParser | valParser |
ByteSkipper | theSkipper |
uint8_t | varBuffer [sizeof(USB_CONFIGURATION_DESCRIPTOR)] |
uint8_t | itemParseState |
uint8_t | itemSize |
uint8_t | itemPrefix |
uint8_t | rptSize |
uint8_t | rptCount |
uint16_t | totalSize |
UsagePageFunc | pfUsage |
Static Protected Attributes | |
static UsagePageFunc | usagePageFunctions [] |
Definition at line 40 of file hidescriptorparser.h.
typedef void(* ReportDescParserBase::UsagePageFunc)(uint16_t usage) |
Definition at line 43 of file hidescriptorparser.h.
anonymous enum |
Enumerator | |
---|---|
enErrorSuccess | |
enErrorIncomplete | |
enErrorBufferTooSmall |
Definition at line 156 of file hidescriptorparser.h.
|
inline |
Definition at line 141 of file hidescriptorparser.h.
|
virtual |
Implements USBReadParser.
Definition at line 1027 of file hidescriptorparser.cpp.
|
protectedvirtual |
Reimplemented in ReportDescParser2.
Definition at line 1130 of file hidescriptorparser.cpp.
|
static |
Definition at line 1506 of file hidescriptorparser.cpp.
|
static |
Definition at line 1330 of file hidescriptorparser.cpp.
|
static |
Definition at line 1057 of file hidescriptorparser.cpp.
|
static |
Definition at line 1454 of file hidescriptorparser.cpp.
|
static |
Definition at line 1492 of file hidescriptorparser.cpp.
|
static |
Definition at line 1402 of file hidescriptorparser.cpp.
|
static |
Definition at line 1344 of file hidescriptorparser.cpp.
|
static |
Definition at line 1414 of file hidescriptorparser.cpp.
|
static |
Definition at line 1064 of file hidescriptorparser.cpp.
|
static |
Definition at line 1424 of file hidescriptorparser.cpp.
|
static |
Definition at line 1520 of file hidescriptorparser.cpp.
|
static |
Definition at line 1337 of file hidescriptorparser.cpp.
|
static |
Definition at line 1362 of file hidescriptorparser.cpp.
|
static |
Definition at line 1388 of file hidescriptorparser.cpp.
|
static |
Definition at line 1434 of file hidescriptorparser.cpp.
|
staticprotected |
Definition at line 1302 of file hidescriptorparser.cpp.
|
static |
Definition at line 1049 of file hidescriptorparser.cpp.
|
static |
Definition at line 1376 of file hidescriptorparser.cpp.
|
protected |
Definition at line 1276 of file hidescriptorparser.cpp.
|
static |
Definition at line 108 of file hidescriptorparser.h.
|
static |
Definition at line 109 of file hidescriptorparser.h.
|
static |
Definition at line 110 of file hidescriptorparser.h.
|
static |
Definition at line 90 of file hidescriptorparser.h.
|
static |
Definition at line 91 of file hidescriptorparser.h.
|
static |
Definition at line 92 of file hidescriptorparser.h.
|
static |
Definition at line 93 of file hidescriptorparser.h.
|
static |
Definition at line 94 of file hidescriptorparser.h.
|
static |
Definition at line 95 of file hidescriptorparser.h.
|
static |
Definition at line 96 of file hidescriptorparser.h.
|
static |
Definition at line 97 of file hidescriptorparser.h.
|
static |
Definition at line 98 of file hidescriptorparser.h.
|
static |
Definition at line 99 of file hidescriptorparser.h.
|
static |
Definition at line 100 of file hidescriptorparser.h.
|
static |
Definition at line 101 of file hidescriptorparser.h.
|
static |
Definition at line 102 of file hidescriptorparser.h.
|
static |
Definition at line 103 of file hidescriptorparser.h.
|
static |
Definition at line 104 of file hidescriptorparser.h.
|
static |
Definition at line 105 of file hidescriptorparser.h.
|
static |
Definition at line 106 of file hidescriptorparser.h.
|
static |
Definition at line 107 of file hidescriptorparser.h.
|
static |
Definition at line 80 of file hidescriptorparser.h.
|
static |
Definition at line 81 of file hidescriptorparser.h.
|
static |
Definition at line 67 of file hidescriptorparser.h.
|
static |
Definition at line 68 of file hidescriptorparser.h.
|
static |
Definition at line 69 of file hidescriptorparser.h.
|
static |
Definition at line 70 of file hidescriptorparser.h.
|
static |
Definition at line 71 of file hidescriptorparser.h.
|
static |
Definition at line 82 of file hidescriptorparser.h.
|
protected |
Definition at line 125 of file hidescriptorparser.h.
|
protected |
Definition at line 127 of file hidescriptorparser.h.
|
protected |
Definition at line 126 of file hidescriptorparser.h.
|
static |
Definition at line 83 of file hidescriptorparser.h.
|
static |
Definition at line 111 of file hidescriptorparser.h.
|
static |
Definition at line 112 of file hidescriptorparser.h.
|
static |
Definition at line 113 of file hidescriptorparser.h.
|
static |
Definition at line 114 of file hidescriptorparser.h.
|
static |
Definition at line 115 of file hidescriptorparser.h.
|
protected |
Definition at line 135 of file hidescriptorparser.h.
|
protected |
Definition at line 129 of file hidescriptorparser.h.
|
protected |
Definition at line 128 of file hidescriptorparser.h.
|
static |
Definition at line 72 of file hidescriptorparser.h.
|
static |
Definition at line 73 of file hidescriptorparser.h.
|
static |
Definition at line 74 of file hidescriptorparser.h.
|
static |
Definition at line 77 of file hidescriptorparser.h.
|
static |
Definition at line 78 of file hidescriptorparser.h.
|
static |
Definition at line 79 of file hidescriptorparser.h.
|
static |
Definition at line 84 of file hidescriptorparser.h.
|
static |
Definition at line 85 of file hidescriptorparser.h.
|
static |
Definition at line 86 of file hidescriptorparser.h.
|
static |
Definition at line 87 of file hidescriptorparser.h.
|
static |
Definition at line 88 of file hidescriptorparser.h.
|
static |
Definition at line 89 of file hidescriptorparser.h.
|
protected |
Definition at line 120 of file hidescriptorparser.h.
|
protected |
Definition at line 122 of file hidescriptorparser.h.
|
protected |
Definition at line 131 of file hidescriptorparser.h.
|
staticprotected |
Definition at line 118 of file hidescriptorparser.h.
|
static |
Definition at line 65 of file hidescriptorparser.h.
|
static |
Definition at line 66 of file hidescriptorparser.h.
|
protected |
Definition at line 121 of file hidescriptorparser.h.
|
protected |
Definition at line 123 of file hidescriptorparser.h.
|
static |
Definition at line 75 of file hidescriptorparser.h.
|
static |
Definition at line 76 of file hidescriptorparser.h.