HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) Method

Definition

Retrieves the descriptions of the numeric controls for the given HID device.

public : IVectorView<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, unsigned short usagePage, unsigned short usageId)
IVectorView<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, UInt16 usagePage, UInt16 usageId) const;
public IReadOnlyList<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, UInt16 usagePage, UInt16 usageId)
Public Function GetNumericControlDescriptions(reportType As HidReportType, usagePage As UInt16, usageId As UInt16) As IReadOnlyList<HidNumericControlDescription>(Of HidNumericControlDescription)
var iVectorView = hidDevice.getNumericControlDescriptions(reportType, usagePage, usageId);

Parameters

reportType
HidReportType HidReportType HidReportType

Specifies the type of report for which the control descriptions are requested.

usagePage
UInt16 UInt16 UInt16

Identifies the usage page associated with the controls.

A value of 0 is treated as a wild card for all usage pages.

usageId
UInt16 UInt16 UInt16

Identifies the usage associated with the controls.

A value of 0 is treated as a wild card for all usage IDs.

Returns

IReadOnlyList<HidNumericControlDescription> IReadOnlyList<HidNumericControlDescription> IReadOnlyList<HidNumericControlDescription>

A vector of HidNumericControlDescription objects.

See also