The Pedigree Project 0.1
Public Types | Public Member Functions | Public Attributes | List of all members
HidReport::InputBlock Struct Reference

Structure representing an Input block whitin a Collection. More...

+ Collaboration diagram for HidReport::InputBlock:

Public Types

enum  { Constant , Absolute , Relative , Array }
 The type of the input block. More...
 

Public Member Functions

void feedInput (uint8_t *pBuffer, uint8_t *pOldBuffer, size_t nBufferSize, size_t &nBitOffset, HidDeviceType deviceType, uint8_t reportId)
 Feeds input to this block.
 

Public Attributes

enum HidReport::InputBlock:: { ... }  type
 The type of the input block.
 
LocalState state
 The local state of the input block.
 

Detailed Description

Structure representing an Input block whitin a Collection.

Definition at line 113 of file HidReport.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The type of the input block.

Definition at line 119 of file HidReport.h.

Member Function Documentation

◆ feedInput()

void HidReport::InputBlock::feedInput ( uint8_t *  pBuffer,
uint8_t *  pOldBuffer,
size_t  nBufferSize,
size_t &  nBitOffset,
HidDeviceType  deviceType,
uint8_t  reportId 
)

Feeds input to this block.

Definition at line 359 of file HidReport.cc.

References HidUtils::getBufferField(), and HidUtils::sendInputToManager().

Referenced by HidReport::Collection::feedInput().

+ Here is the caller graph for this function:

Member Data Documentation

◆ state

LocalState HidReport::InputBlock::state

The local state of the input block.

Definition at line 122 of file HidReport.h.

Referenced by HidReport::parseDescriptor().


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