Descriptor for a single report element.
[Serializable]
public struct HIDElementDescriptor
Fields
Declaration
public int collectionIndex
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public HID.HIDElementFlags flags
Field Value
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public int reportOffsetInBits
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public int reportSizeInBits
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public HID.HIDReportType reportType
Field Value
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
Field Value
Type |
Description |
System.Nullable<System.Int32> |
|
usagePage
Declaration
public HID.UsagePage usagePage
Field Value
Properties
Declaration
public bool hasNullState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool hasPreferredState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isConstant { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isNonLinear { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isRelative { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isWrapping { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Is(HID.UsagePage, Int32)
Declaration
public bool Is(HID.UsagePage usagePage, int usage)
Parameters
Returns
Type |
Description |
System.Boolean |
|