Share via


HidBooleanControl Class

Definition

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 ref class HidBooleanControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HidBooleanControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HidBooleanControl
Public NotInheritable Class HidBooleanControl
Inheritance
Object Platform::Object IInspectable HidBooleanControl
Attributes

Windows requirements

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

Properties

ControlDescription

Gets a description of the given Boolean control.

Id

Gets the identifier for a given Boolean control.

IsActive

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

UsageId

Gets the usage identifier associated with the given Boolean control.

UsagePage

Gets the usage page for a given Boolean control.

Applies to

See also