메소드 | 설명 | |
---|---|---|
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, |
메소드 | 설명 | |
---|---|---|
AddIndex ( uint>.List |
||
FilterReports ( ReportType reportType ) : IEnumerable |
||
GetMaxLengthOfReports ( IEnumerable |
||
UpdateIndexList ( List |
||
UpdateIndexListCommit ( List |
||
UpdateIndexMaximum ( |
||
UpdateIndexMinimum ( |
public GetGlobalItem ( GlobalItemTag tag ) : EncodedItem | ||
tag | GlobalItemTag | |
리턴 | EncodedItem |
public GetGlobalItemValue ( GlobalItemTag tag ) : uint | ||
tag | GlobalItemTag | |
리턴 | uint |
public GetReport ( ReportType type, byte id ) : |
||
type | ReportType | |
id | byte | |
리턴 |
public IsGlobalItemSet ( GlobalItemTag tag ) : bool | ||
tag | GlobalItemTag | |
리턴 | bool |
public Parse ( IEnumerable |
||
items | IEnumerable |
The items to parse. |
리턴 | void |
public Parse ( byte buffer ) : void | ||
buffer | byte | The buffer containing the report descriptor. |
리턴 | 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. |
리턴 | void |
public ParseDataMain ( MainItemTag tag, uint value, |
||
tag | MainItemTag | |
value | uint | |
indexes | ||
리턴 | void |
public ParseMain ( MainItemTag tag, uint value ) : void | ||
tag | MainItemTag | |
value | uint | |
리턴 | void |
public ParseMainIndexes ( |
||
indexes | ||
리턴 | void |
public TryGetReport ( ReportType type, byte id, |
||
type | ReportType | |
id | byte | |
report | ||
리턴 | bool |