Share via


HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) Method

Definition

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

public:
 virtual IVectorView<HidNumericControlDescription ^> ^ GetNumericControlDescriptions(HidReportType reportType, unsigned short usagePage, unsigned short usageId) = GetNumericControlDescriptions;
IVectorView<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType const& reportType, uint16_t const& usagePage, uint16_t const& usageId);
public IReadOnlyList<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, ushort usagePage, ushort usageId);
function getNumericControlDescriptions(reportType, usagePage, usageId)
Public Function GetNumericControlDescriptions (reportType As HidReportType, usagePage As UShort, usageId As UShort) As IReadOnlyList(Of HidNumericControlDescription)

Parameters

reportType
HidReportType

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

usagePage
UInt16

unsigned short

uint16_t

Identifies the usage page associated with the controls.

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

usageId
UInt16

unsigned short

uint16_t

Identifies the usage associated with the controls.

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

Returns

A vector of HidNumericControlDescription objects.

Applies to

See also