HidFeatureReport.GetNumericControl(UInt16, UInt16) Method

Definition

Retrieves the numeric control associated with the usagePage and usageId parameters and found in the given feature report.

public:
 virtual HidNumericControl ^ GetNumericControl(unsigned short usagePage, unsigned short usageId) = GetNumericControl;
HidNumericControl GetNumericControl(uint16_t const& usagePage, uint16_t const& usageId);
public HidNumericControl GetNumericControl(ushort usagePage, ushort usageId);
function getNumericControl(usagePage, usageId)
Public Function GetNumericControl (usagePage As UShort, usageId As UShort) As HidNumericControl

Parameters

usagePage
UInt16

unsigned short

uint16_t

The usage page of the top-level collection for the given HID device.

usageId
UInt16

unsigned short

uint16_t

The usage identifier of the top-level collection for the given HID device.

Returns

A HidNumericControl object.

Applies to

See also