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
UsagePageToString(HID.UsagePage)
Declaration
public static string UsagePageToString(HID.UsagePage usagePage)
Parameters
Returns
Type |
Description |
System.String |
|
UsageToString(HID.UsagePage, Int32)
Declaration
public static string UsageToString(HID.UsagePage usagePage, int usage)
Parameters
Returns
Type |
Description |
System.String |
|
Extension Methods