Method | Description | |
---|---|---|
Clear ( ) : void |
Resets the parser to its initial state.
|
|
GetGlobalItem ( GlobalItemTag tag ) : EncodedItem | ||
GetGlobalItemValue ( GlobalItemTag tag ) : uint | ||
GetReport ( ReportType type, byte id ) : |
||
IsGlobalItemSet ( GlobalItemTag tag ) : bool | ||
Parse ( EncodedItem item ) : void |
Parses a single EncodedItem. Call this repeatedly for every item to completely decode a report descriptor.
|
|
Parse ( IEnumerable |
Parses all of the EncodedItem elements in a report descriptor.
|
|
Parse ( byte buffer ) : void |
Parses a raw HID report descriptor.
|
|
Parse ( byte buffer, int offset, int count ) : void |
Parses a raw HID report descriptor.
|
|
ParseDataMain ( MainItemTag tag, uint value, |
||
ParseMain ( MainItemTag tag, uint value ) : void | ||
ParseMainIndexes ( |
||
ReportDescriptorParser ( ) : System |
Initializes a new instance of the ReportDescriptorParser class.
|
|
TryGetReport ( ReportType type, byte id, |
Method | Description | |
---|---|---|
AddIndex ( uint>.List |
||
FilterReports ( ReportType reportType ) : IEnumerable |
||
GetMaxLengthOfReports ( IEnumerable |
||
UpdateIndexList ( List |
||
UpdateIndexListCommit ( List |
||
UpdateIndexMaximum ( |
||
UpdateIndexMinimum ( |
public GetGlobalItem ( GlobalItemTag tag ) : EncodedItem | ||
tag | GlobalItemTag | |
return | EncodedItem |
public GetGlobalItemValue ( GlobalItemTag tag ) : uint | ||
tag | GlobalItemTag | |
return | uint |
public GetReport ( ReportType type, byte id ) : |
||
type | ReportType | |
id | byte | |
return |
public IsGlobalItemSet ( GlobalItemTag tag ) : bool | ||
tag | GlobalItemTag | |
return | bool |
public Parse ( EncodedItem item ) : void | ||
item | EncodedItem | The item to parse. |
return | void |
public Parse ( IEnumerable |
||
items | IEnumerable |
The items to parse. |
return | void |
public Parse ( byte buffer ) : void | ||
buffer | byte | The buffer containing the report descriptor. |
return | void |
public Parse ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer containing the report descriptor. |
offset | int | The offset into the buffer to begin parsing from. |
count | int | The number of bytes to parse. |
return | void |
public ParseDataMain ( MainItemTag tag, uint value, |
||
tag | MainItemTag | |
value | uint | |
indexes | ||
return | void |
public ParseMain ( MainItemTag tag, uint value ) : void | ||
tag | MainItemTag | |
value | uint | |
return | void |
public ParseMainIndexes ( |
||
indexes | ||
return | void |
public TryGetReport ( ReportType type, byte id, |
||
type | ReportType | |
id | byte | |
report | ||
return | bool |