HidOutputReport.GetBooleanControl(UInt16, UInt16) Method

Definition

Retrieves the boolean control associated with the given usagePage and usageId.

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 associated with the given control.

usageId
UInt16

unsigned short

uint16_t

The usage identifier associated with the given control.

Returns

A HidBooleanControl object.

Applies to

See also