HidBooleanControl HidBooleanControl HidBooleanControl HidBooleanControl HidBooleanControl Class


Represents a simple Boolean control on a HID device that returns on/off values. An example would be the LED light on a keyboard.

public : sealed class HidBooleanControl
struct winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl
public sealed class HidBooleanControl
Public NotInheritable Class HidBooleanControl
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ControlDescription ControlDescription ControlDescription ControlDescription ControlDescription

Gets a description of the given Boolean control.

Id Id Id Id Id

Gets the identifier for a given Boolean control.

IsActive IsActive IsActive IsActive IsActive

Gets a Boolean value indicating whether the given Boolean control is active.

UsageId UsageId UsageId UsageId UsageId

Gets the usage identifier associated with the given Boolean control.

UsagePage UsagePage UsagePage UsagePage UsagePage

Gets the usage page for a given Boolean control.

See also