A generic HID input device.
Inheritance
System.Object
HID
public class HID : InputDevice
Properties
The HID device descriptor as received from the system.
Declaration
public HID.HIDDeviceDescriptor hidDescriptor { get; }
Property Value
Declaration
public static FourCC QueryHIDParsedReportDescriptorDeviceCommandType { get; }
Property Value
Command code for querying the HID report descriptor from a device.
Declaration
public static FourCC QueryHIDReportDescriptorDeviceCommandType { get; }
Property Value
Command code for querying the HID report descriptor size in bytes from a device.
Declaration
public static FourCC QueryHIDReportDescriptorSizeDeviceCommandType { get; }
Property Value
Methods
Declaration
public static HID.HIDDeviceDescriptor ReadHIDDeviceDescriptor(int deviceId, ref InputDeviceDescription deviceDescription, IInputRuntime runtime)
Parameters
Returns
Declaration
public static HID.HIDDeviceDescriptor ReadHIDDeviceDescriptor(InputDevice device, IInputRuntime runtime)
Parameters
Returns
UsageToString(HID.UsagePage, Int32, out String, out String)
Declaration
public static bool UsageToString(HID.UsagePage usagePage, int usage, out string usagePageString, out string usageString)
Parameters
Type |
Name |
Description |
HID.UsagePage |
usagePage |
|
System.Int32 |
usage |
|
System.String |
usagePageString |
|
System.String |
usageString |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods