Udostępnij za pośrednictwem


HidFeatureReport.GetBooleanControl(UInt16, UInt16) Method

Definition

Retrieves the Boolean control associated with the usagePage and usageId parameter and found in the given feature report.

public:
 virtual HidBooleanControl ^ GetBooleanControl(unsigned short usagePage, unsigned short usageId) = GetBooleanControl;
HidBooleanControl GetBooleanControl(uint16_t const& usagePage, uint16_t const& usageId);
public HidBooleanControl GetBooleanControl(ushort usagePage, ushort usageId);
function getBooleanControl(usagePage, usageId)
Public Function GetBooleanControl (usagePage As UShort, usageId As UShort) As HidBooleanControl

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 HidBooleanControl object.

Applies to

See also