USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ReportDescParserBase Class Reference

#include <hidescriptorparser.h>

Inheritance diagram for ReportDescParserBase:
Inheritance graph
[legend]
Collaboration diagram for ReportDescParserBase:
Collaboration graph
[legend]

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 []
 

Detailed Description

Definition at line 40 of file hidescriptorparser.h.

Member Typedef Documentation

typedef void(* ReportDescParserBase::UsagePageFunc)(uint16_t usage)

Definition at line 43 of file hidescriptorparser.h.

Member Enumeration Documentation

anonymous enum
Enumerator
enErrorSuccess 
enErrorIncomplete 
enErrorBufferTooSmall 

Definition at line 156 of file hidescriptorparser.h.

Constructor & Destructor Documentation

ReportDescParserBase::ReportDescParserBase ( )
inline

Definition at line 141 of file hidescriptorparser.h.

Member Function Documentation

void ReportDescParserBase::Parse ( const uint16_t  len,
const uint8_t *  pbuf,
const uint16_t &  offset 
)
virtual

Implements USBReadParser.

Definition at line 1027 of file hidescriptorparser.cpp.

uint8_t ReportDescParserBase::ParseItem ( uint8_t **  pp,
uint16_t *  pcntdn 
)
protectedvirtual

Reimplemented in ReportDescParser2.

Definition at line 1130 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintAlphanumDisplayPageUsage ( uint16_t  usage)
static

Definition at line 1506 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintButtonPageUsage ( uint16_t  usage)
static

Definition at line 1330 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintByteValue ( uint8_t  data)
static

Definition at line 1057 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintConsumerPageUsage ( uint16_t  usage)
static

Definition at line 1454 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintDigitizerPageUsage ( uint16_t  usage)
static

Definition at line 1492 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintGameControlsPageUsage ( uint16_t  usage)
static

Definition at line 1402 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintGenericDesktopPageUsage ( uint16_t  usage)
static

Definition at line 1344 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintGenericDeviceControlsPageUsage ( uint16_t  usage)
static

Definition at line 1414 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintItemTitle ( uint8_t  prefix)
static

Definition at line 1064 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintLEDPageUsage ( uint16_t  usage)
static

Definition at line 1424 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintMedicalInstrumentPageUsage ( uint16_t  usage)
static

Definition at line 1520 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintOrdinalPageUsage ( uint16_t  usage)
static

Definition at line 1337 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintSimulationControlsPageUsage ( uint16_t  usage)
static

Definition at line 1362 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintSportsControlsPageUsage ( uint16_t  usage)
static

Definition at line 1388 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintTelephonyPageUsage ( uint16_t  usage)
static

Definition at line 1434 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintUsagePage ( uint16_t  page)
staticprotected

Definition at line 1302 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintValue ( uint8_t *  p,
uint8_t  len 
)
static

Definition at line 1049 of file hidescriptorparser.cpp.

void ReportDescParserBase::PrintVRControlsPageUsage ( uint16_t  usage)
static

Definition at line 1376 of file hidescriptorparser.cpp.

void ReportDescParserBase::SetUsagePage ( uint16_t  page)
protected

Definition at line 1276 of file hidescriptorparser.cpp.

Member Data Documentation

const char * ReportDescParserBase::aplphanumTitles0
static
Initial value:
=
{
pstrUsageAlphanumericDisplay,
pstrUsageBitmappedDisplay
}

Definition at line 108 of file hidescriptorparser.h.

const char * ReportDescParserBase::aplphanumTitles1
static

Definition at line 109 of file hidescriptorparser.h.

const char * ReportDescParserBase::aplphanumTitles2
static
Initial value:
=
{
pstrUsageBitmapSizeX ,
pstrUsageBitmapSizeY ,
pstrUsagePageReserved ,
pstrUsageBitDepthFormat ,
pstrUsageDisplayOrientation ,
pstrUsagePaletteReport ,
pstrUsagePaletteDataSize ,
pstrUsagePaletteDataOffset ,
pstrUsagePaletteData ,
pstrUsageBlitReport ,
pstrUsageBlitRectangleX1 ,
pstrUsageBlitRectangleY1 ,
pstrUsageBlitRectangleX2 ,
pstrUsageBlitRectangleY2 ,
pstrUsageBlitData ,
pstrUsageSoftButton ,
pstrUsageSoftButtonID ,
pstrUsageSoftButtonSide ,
pstrUsageSoftButtonOffset1 ,
pstrUsageSoftButtonOffset2 ,
pstrUsageSoftButtonReport
}

Definition at line 110 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles0
static
Initial value:
=
{
pstrUsageConsumerControl,
pstrUsageNumericKeyPad,
pstrUsageProgrammableButton,
pstrUsageMicrophone,
pstrUsageHeadphone,
pstrUsageGraphicEqualizer
}

Definition at line 90 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles1
static
Initial value:
=
{
pstrUsagePlus10 ,
pstrUsagePlus100,
pstrUsageAMPM
}

Definition at line 91 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles2
static
Initial value:
=
{
pstrUsagePower ,
pstrUsageReset ,
pstrUsageSleep ,
pstrUsageSleepAfter ,
pstrUsageSleepMode ,
pstrUsageIllumination ,
pstrUsageFunctionButtons
}

Definition at line 92 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles3
static
Initial value:
=
{
pstrUsageMenu ,
pstrUsageMenuPick ,
pstrUsageMenuUp ,
pstrUsageMenuDown ,
pstrUsageMenuLeft ,
pstrUsageMenuRight ,
pstrUsageMenuEscape ,
pstrUsageMenuValueIncrease,
pstrUsageMenuValueDecrease
}

Definition at line 93 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles4
static
Initial value:
=
{
pstrUsageDataOnScreen ,
pstrUsageClosedCaption ,
pstrUsageClosedCaptionSelect,
pstrUsageVCRTV ,
pstrUsageBroadcastMode ,
pstrUsageSnapshot ,
pstrUsageStill
}

Definition at line 94 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles5
static

Definition at line 95 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles6
static

Definition at line 96 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles7
static
Initial value:
=
{
pstrUsageVolume ,
pstrUsageBalance ,
pstrUsageMute ,
pstrUsageBass ,
pstrUsageTreble ,
pstrUsageBassBoost ,
pstrUsageSurroundMode ,
pstrUsageLoudness ,
pstrUsageMPX ,
pstrUsageVolumeIncrement ,
pstrUsageVolumeDecrement
}

Definition at line 97 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles8
static
Initial value:
=
{
pstrUsageSpeedSelect ,
pstrUsagePlaybackSpeed ,
pstrUsageStandardPlay ,
pstrUsageLongPlay ,
pstrUsageExtendedPlay ,
pstrUsageSlow
}

Definition at line 98 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitles9
static
Initial value:
=
{
pstrUsageFanEnable ,
pstrUsageFanSpeed ,
pstrUsageLightEnable ,
pstrUsageLightIlluminationLevel ,
pstrUsageClimateControlEnable ,
pstrUsageRoomTemperature ,
pstrUsageSecurityEnable ,
pstrUsageFireAlarm ,
pstrUsagePoliceAlarm ,
pstrUsageProximity ,
pstrUsageMotion ,
pstrUsageDuresAlarm ,
pstrUsageHoldupAlarm ,
pstrUsageMedicalAlarm
}

Definition at line 99 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitlesA
static
Initial value:
=
{
pstrUsageBalanceRight ,
pstrUsageBalanceLeft ,
pstrUsageBassIncrement ,
pstrUsageBassDecrement ,
pstrUsageTrebleIncrement ,
pstrUsageTrebleDecrement
}

Definition at line 100 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitlesB
static
Initial value:
=
{
pstrUsageSpeakerSystem ,
pstrUsageChannelLeft ,
pstrUsageChannelRight ,
pstrUsageChannelCenter ,
pstrUsageChannelFront ,
pstrUsageChannelCenterFront ,
pstrUsageChannelSide ,
pstrUsageChannelSurround ,
pstrUsageChannelLowFreqEnhancement ,
pstrUsageChannelTop ,
pstrUsageChannelUnknown
}

Definition at line 101 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitlesC
static
Initial value:
=
{
pstrUsageSubChannel ,
pstrUsageSubChannelIncrement ,
pstrUsageSubChannelDecrement ,
pstrUsageAlternateAudioIncrement ,
pstrUsageAlternateAudioDecrement
}

Definition at line 102 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitlesD
static

Definition at line 103 of file hidescriptorparser.h.

const char * ReportDescParserBase::consTitlesE
static

Definition at line 104 of file hidescriptorparser.h.

const char * ReportDescParserBase::digitTitles0
static
Initial value:
=
{
pstrUsageDigitizer ,
pstrUsagePen ,
pstrUsageLightPen ,
pstrUsageTouchScreen ,
pstrUsageTouchPad ,
pstrUsageWhiteBoard ,
pstrUsageCoordinateMeasuringMachine ,
pstrUsage3DDigitizer ,
pstrUsageStereoPlotter ,
pstrUsageArticulatedArm ,
pstrUsageArmature ,
pstrUsageMultiplePointDigitizer ,
pstrUsageFreeSpaceWand
}

Definition at line 105 of file hidescriptorparser.h.

const char * ReportDescParserBase::digitTitles1
static
Initial value:
=
{
pstrUsageStylus ,
pstrUsagePuck ,
pstrUsageFinger
}

Definition at line 106 of file hidescriptorparser.h.

const char * ReportDescParserBase::digitTitles2
static
Initial value:
=
{
pstrUsageTipPressure ,
pstrUsageBarrelPressure ,
pstrUsageInRange ,
pstrUsageTouch ,
pstrUsageUntouch ,
pstrUsageTap ,
pstrUsageQuality ,
pstrUsageDataValid ,
pstrUsageTransducerIndex ,
pstrUsageTabletFunctionKeys ,
pstrUsageProgramChangeKeys ,
pstrUsageBatteryStrength ,
pstrUsageInvert ,
pstrUsageXTilt ,
pstrUsageYTilt ,
pstrUsageAzimuth ,
pstrUsageAltitude ,
pstrUsageTwist ,
pstrUsageTipSwitch ,
pstrUsageSecondaryTipSwitch ,
pstrUsageBarrelSwitch ,
pstrUsageEraser ,
pstrUsageTabletPick
}

Definition at line 107 of file hidescriptorparser.h.

const char * ReportDescParserBase::gameTitles0
static
Initial value:
=
{
pstrUsage3DGameController ,
pstrUsagePinballDevice ,
pstrUsageGunDevice
}

Definition at line 80 of file hidescriptorparser.h.

const char * ReportDescParserBase::gameTitles1
static
Initial value:
=
{
pstrUsagePointOfView ,
pstrUsageTurnRightLeft ,
pstrUsagePitchForwardBackward ,
pstrUsageRollRightLeft ,
pstrUsageMoveRightLeft ,
pstrUsageMoveForwardBackward ,
pstrUsageMoveUpDown ,
pstrUsageLeanRightLeft ,
pstrUsageLeanForwardBackward ,
pstrUsageHeightOfPOV ,
pstrUsageFlipper ,
pstrUsageSecondaryFlipper ,
pstrUsageBump ,
pstrUsageNewGame ,
pstrUsageShootBall ,
pstrUsagePlayer ,
pstrUsageGunBolt ,
pstrUsageGunClip ,
pstrUsageGunSelector ,
pstrUsageGunSingleShot ,
pstrUsageGunBurst ,
pstrUsageGunAutomatic ,
pstrUsageGunSafety ,
pstrUsageGamepadFireJump ,
pstrUsageGamepadTrigger
}

Definition at line 81 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDesktopTitles0
static
Initial value:
=
{
pstrUsagePointer ,
pstrUsageMouse ,
pstrUsageJoystick ,
pstrUsageGamePad ,
pstrUsageKeyboard ,
pstrUsageKeypad ,
pstrUsageMultiAxisController ,
pstrUsageTabletPCSystemControls
}

Definition at line 67 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDesktopTitles1
static
Initial value:
=
{
pstrUsageX ,
pstrUsageY ,
pstrUsageZ ,
pstrUsageRx ,
pstrUsageRy ,
pstrUsageRz ,
pstrUsageSlider ,
pstrUsageDial ,
pstrUsageWheel ,
pstrUsageHatSwitch ,
pstrUsageCountedBuffer ,
pstrUsageByteCount ,
pstrUsageMotionWakeup ,
pstrUsageStart ,
pstrUsageSelect ,
pstrUsagePageReserved ,
pstrUsageVx ,
pstrUsageVy ,
pstrUsageVz ,
pstrUsageVbrx ,
pstrUsageVbry ,
pstrUsageVbrz ,
pstrUsageVno ,
pstrUsageFeatureNotification ,
pstrUsageResolutionMultiplier
}

Definition at line 68 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDesktopTitles2
static
Initial value:
=
{
pstrUsageSystemControl ,
pstrUsageSystemPowerDown ,
pstrUsageSystemSleep ,
pstrUsageSystemWakeup ,
pstrUsageSystemContextMenu ,
pstrUsageSystemMainMenu ,
pstrUsageSystemAppMenu ,
pstrUsageSystemMenuHelp ,
pstrUsageSystemMenuExit ,
pstrUsageSystemMenuSelect ,
pstrUsageSystemMenuRight ,
pstrUsageSystemMenuLeft ,
pstrUsageSystemMenuUp ,
pstrUsageSystemMenuDown ,
pstrUsageSystemColdRestart ,
pstrUsageSystemWarmRestart ,
pstrUsageDPadUp ,
pstrUsageDPadDown ,
pstrUsageDPadRight ,
pstrUsageDPadLeft
}

Definition at line 69 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDesktopTitles3
static
Initial value:
=
{
pstrUsageSystemDock ,
pstrUsageSystemUndock ,
pstrUsageSystemSetup ,
pstrUsageSystemBreak ,
pstrUsageSystemDebuggerBreak ,
pstrUsageApplicationBreak ,
pstrUsageApplicationDebuggerBreak,
pstrUsageSystemSpeakerMute ,
pstrUsageSystemHibernate
}

Definition at line 70 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDesktopTitles4
static
Initial value:
=
{
pstrUsageSystemDisplayInvert ,
pstrUsageSystemDisplayInternal ,
pstrUsageSystemDisplayExternal ,
pstrUsageSystemDisplayBoth ,
pstrUsageSystemDisplayDual ,
pstrUsageSystemDisplayToggleIntExt ,
pstrUsageSystemDisplaySwapPriSec ,
pstrUsageSystemDisplayLCDAutoscale
}

Definition at line 71 of file hidescriptorparser.h.

const char * ReportDescParserBase::genDevCtrlTitles
static
Initial value:
=
{
pstrUsageBatteryStrength,
pstrUsageWirelessChannel,
pstrUsageWirelessID,
pstrUsageDiscoverWirelessControl,
pstrUsageSecurityCodeCharEntered,
pstrUsageSecurityCodeCharErased,
pstrUsageSecurityCodeCleared
}

Definition at line 82 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::itemParseState
protected

Definition at line 125 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::itemPrefix
protected

Definition at line 127 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::itemSize
protected

Definition at line 126 of file hidescriptorparser.h.

const char * ReportDescParserBase::ledTitles
static

Definition at line 83 of file hidescriptorparser.h.

const char * ReportDescParserBase::medInstrTitles0
static
Initial value:
=
{
pstrUsageVCRAcquisition ,
pstrUsageFreezeThaw ,
pstrUsageClipStore ,
pstrUsageUpdate ,
pstrUsageNext ,
pstrUsageSave ,
pstrUsagePrint ,
pstrUsageMicrophoneEnable
}

Definition at line 111 of file hidescriptorparser.h.

const char * ReportDescParserBase::medInstrTitles1
static
Initial value:
=
{
pstrUsageCine ,
pstrUsageTransmitPower ,
pstrUsageVolume ,
pstrUsageFocus ,
pstrUsageDepth
}

Definition at line 112 of file hidescriptorparser.h.

const char * ReportDescParserBase::medInstrTitles2
static
Initial value:
=
{
pstrUsageSoftStepPrimary ,
pstrUsageSoftStepSecondary
}

Definition at line 113 of file hidescriptorparser.h.

const char * ReportDescParserBase::medInstrTitles3
static
Initial value:
=
{
pstrUsageZoomSelect ,
pstrUsageZoomAdjust ,
pstrUsageSpectralDopplerModeSelect ,
pstrUsageSpectralDopplerModeAdjust ,
pstrUsageColorDopplerModeSelect ,
pstrUsageColorDopplerModeAdjust ,
pstrUsageMotionModeSelect ,
pstrUsageMotionModeAdjust ,
pstrUsage2DModeSelect ,
pstrUsage2DModeAdjust
}

Definition at line 114 of file hidescriptorparser.h.

const char * ReportDescParserBase::medInstrTitles4
static
Initial value:
=
{
pstrUsageSoftControlSelect ,
pstrUsageSoftControlAdjust
}

Definition at line 115 of file hidescriptorparser.h.

UsagePageFunc ReportDescParserBase::pfUsage
protected

Definition at line 135 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::rptCount
protected

Definition at line 129 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::rptSize
protected

Definition at line 128 of file hidescriptorparser.h.

const char * ReportDescParserBase::simuTitles0
static
Initial value:
=
{
pstrUsageFlightSimulationDevice ,
pstrUsageAutomobileSimulationDevice ,
pstrUsageTankSimulationDevice ,
pstrUsageSpaceshipSimulationDevice ,
pstrUsageSubmarineSimulationDevice ,
pstrUsageSailingSimulationDevice ,
pstrUsageMotocicleSimulationDevice ,
pstrUsageSportsSimulationDevice ,
pstrUsageAirplaneSimulationDevice ,
pstrUsageHelicopterSimulationDevice ,
pstrUsageMagicCarpetSimulationDevice,
pstrUsageBicycleSimulationDevice
}

Definition at line 72 of file hidescriptorparser.h.

const char * ReportDescParserBase::simuTitles1
static
Initial value:
=
{
pstrUsageFlightControlStick ,
pstrUsageFlightStick ,
pstrUsageCyclicControl ,
pstrUsageCyclicTrim ,
pstrUsageFlightYoke ,
pstrUsageTrackControl
}

Definition at line 73 of file hidescriptorparser.h.

const char * ReportDescParserBase::simuTitles2
static

Definition at line 74 of file hidescriptorparser.h.

const char * ReportDescParserBase::sportsCtrlTitles0
static
Initial value:
=
{
pstrUsageBaseballBat ,
pstrUsageGolfClub ,
pstrUsageRowingMachine ,
pstrUsageTreadmill
}

Definition at line 77 of file hidescriptorparser.h.

const char * ReportDescParserBase::sportsCtrlTitles1
static
Initial value:
=
{
pstrUsageOar ,
pstrUsageSlope ,
pstrUsageRate ,
pstrUsageStickSpeed ,
pstrUsageStickFaceAngle ,
pstrUsageStickHeelToe ,
pstrUsageStickFollowThough ,
pstrUsageStickTempo ,
pstrUsageStickType ,
pstrUsageStickHeight
}

Definition at line 78 of file hidescriptorparser.h.

const char * ReportDescParserBase::sportsCtrlTitles2
static
Initial value:
=
{
pstrUsagePutter ,
pstrUsage1Iron ,
pstrUsage2Iron ,
pstrUsage3Iron ,
pstrUsage4Iron ,
pstrUsage5Iron ,
pstrUsage6Iron ,
pstrUsage7Iron ,
pstrUsage8Iron ,
pstrUsage9Iron ,
pstrUsage10Iron ,
pstrUsage11Iron ,
pstrUsageSandWedge ,
pstrUsageLoftWedge ,
pstrUsagePowerWedge ,
pstrUsage1Wood ,
pstrUsage3Wood ,
pstrUsage5Wood ,
pstrUsage7Wood ,
pstrUsage9Wood
}

Definition at line 79 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles0
static
Initial value:
=
{
pstrUsagePhone ,
pstrUsageAnsweringMachine ,
pstrUsageMessageControls ,
pstrUsageHandset ,
pstrUsageHeadset ,
pstrUsageTelephonyKeyPad ,
pstrUsageProgrammableButton
}

Definition at line 84 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles1
static
Initial value:
=
{
pstrUsageHookSwitch ,
pstrUsageFlash ,
pstrUsageFeature ,
pstrUsageHold ,
pstrUsageRedial ,
pstrUsageTransfer ,
pstrUsageDrop ,
pstrUsagePark ,
pstrUsageForwardCalls ,
pstrUsageAlternateFunction ,
pstrUsageLine ,
pstrUsageSpeakerPhone ,
pstrUsageConference ,
pstrUsageRingEnable ,
pstrUsageRingSelect ,
pstrUsagePhoneMute ,
pstrUsageCallerID ,
pstrUsageSend
}

Definition at line 85 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles2
static
Initial value:
=
{
pstrUsageSpeedDial ,
pstrUsageStoreNumber ,
pstrUsageRecallNumber ,
pstrUsagePhoneDirectory
}

Definition at line 86 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles3
static
Initial value:
=
{
pstrUsageVoiceMail ,
pstrUsageScreenCalls ,
pstrUsageDoNotDisturb ,
pstrUsageMessage ,
pstrUsageAnswerOnOff
}

Definition at line 87 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles4
static
Initial value:
=
{
pstrUsageInsideDialTone ,
pstrUsageOutsideDialTone ,
pstrUsageInsideRingTone ,
pstrUsageOutsideRingTone ,
pstrUsagePriorityRingTone ,
pstrUsageInsideRingback ,
pstrUsagePriorityRingback ,
pstrUsageLineBusyTone ,
pstrUsageReorderTone ,
pstrUsageCallWaitingTone ,
pstrUsageConfirmationTone1 ,
pstrUsageConfirmationTone2 ,
pstrUsageTonesOff ,
pstrUsageOutsideRingback ,
pstrUsageRinger
}

Definition at line 88 of file hidescriptorparser.h.

const char * ReportDescParserBase::telTitles5
static
Initial value:
=
{
pstrUsagePhoneKey0 ,
pstrUsagePhoneKey1 ,
pstrUsagePhoneKey2 ,
pstrUsagePhoneKey3 ,
pstrUsagePhoneKey4 ,
pstrUsagePhoneKey5 ,
pstrUsagePhoneKey6 ,
pstrUsagePhoneKey7 ,
pstrUsagePhoneKey8 ,
pstrUsagePhoneKey9 ,
pstrUsagePhoneKeyStar ,
pstrUsagePhoneKeyPound ,
pstrUsagePhoneKeyA ,
pstrUsagePhoneKeyB ,
pstrUsagePhoneKeyC ,
pstrUsagePhoneKeyD
}

Definition at line 89 of file hidescriptorparser.h.

MultiValueBuffer ReportDescParserBase::theBuffer
protected

Definition at line 120 of file hidescriptorparser.h.

ByteSkipper ReportDescParserBase::theSkipper
protected

Definition at line 122 of file hidescriptorparser.h.

uint16_t ReportDescParserBase::totalSize
protected

Definition at line 131 of file hidescriptorparser.h.

ReportDescParserBase::UsagePageFunc ReportDescParserBase::usagePageFunctions
staticprotected
const char* ReportDescParserBase::usagePageTitles0[]
static

Definition at line 65 of file hidescriptorparser.h.

const char * ReportDescParserBase::usagePageTitles1
static
Initial value:
=
{
pstrUsagePageBarCodeScanner ,
pstrUsagePageScale ,
pstrUsagePageMSRDevices ,
pstrUsagePagePointOfSale ,
pstrUsagePageCameraControl ,
pstrUsagePageArcade
}

Definition at line 66 of file hidescriptorparser.h.

MultiByteValueParser ReportDescParserBase::valParser
protected

Definition at line 121 of file hidescriptorparser.h.

uint8_t ReportDescParserBase::varBuffer[sizeof(USB_CONFIGURATION_DESCRIPTOR)]
protected

Definition at line 123 of file hidescriptorparser.h.

const char * ReportDescParserBase::vrTitles0
static
Initial value:
=
{
pstrUsageBelt ,
pstrUsageBodySuit ,
pstrUsageFlexor ,
pstrUsageGlove ,
pstrUsageHeadTracker ,
pstrUsageHeadMountedDisplay ,
pstrUsageHandTracker ,
pstrUsageOculometer ,
pstrUsageVest ,
pstrUsageAnimatronicDevice
}

Definition at line 75 of file hidescriptorparser.h.

const char * ReportDescParserBase::vrTitles1
static
Initial value:
=
{
pstrUsageStereoEnable ,
pstrUsageDisplayEnable
}

Definition at line 76 of file hidescriptorparser.h.


The documentation for this class was generated from the following files: