HidBooleanControl Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |