HidInputReport.GetNumericControl(UInt16, UInt16) 方法

定义

检索与 usagePageusageId 参数关联的数字控件,并在给定的输入报告中找到。

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

参数

usagePage
UInt16

unsigned short

uint16_t

给定 HID 设备的顶级集合的使用情况页。

usageId
UInt16

unsigned short

uint16_t

给定 HID 设备的顶级集合的使用标识符。

返回

HidNumericControl 对象。

适用于

另请参阅