The Pedigree Project  0.1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
HidReport Class Reference
+ Collaboration diagram for HidReport:

Classes

struct  Collection
 Structure representing a Collection whitin a report. More...
 
struct  InputBlock
 Structure representing an Input block whitin a Collection. More...
 
struct  LocalState
 Structure holding various global and local values for a Main item. More...
 

Public Member Functions

void parseDescriptor (uint8_t *pDescriptor, size_t nDescriptorLength)
 Parses a HID report descriptor and stores the resulted data.
 
void feedInput (uint8_t *pBuffer, uint8_t *pOldBuffer, size_t nBufferSize)
 Feeds the input interpreter with a new input buffer.
 

Private Types

enum  ItemType { MainItem = 0, GlobalItem = 1, LocalItem = 2 }
 The HID item types.
 
enum  ItemTag {
  InputItem = 0x8, OutputItem = 0x9, FeatureItem = 0xb, CollectionItem = 0xa,
  EndCollectionItem = 0xc, UsagePageItem = 0x0, LogMinItem = 0x1, LogMaxItem = 0x2,
  PhysMinItem = 0x3, PhysMaxItem = 0x4, UnitExpItem = 0x5, UnitItem = 0x6,
  ReportSizeItem = 0x7, ReportIDItem = 0x8, ReportCountItem = 0x9, PushItem = 0xa,
  PopItem = 0xb, UsageItem = 0x0, UsageMinItem = 0x1, UsageMaxItem = 0x2
}
 The HID item tags.
 
enum  InputItemFlags { InputConstant = 1, InputVariable = 2, InputRelative = 4 }
 Input item flags.
 

Private Attributes

Collectionm_pRootCollection
 The root collection, under which everything is.
 

Detailed Description

Definition at line 29 of file HidReport.h.


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