Udostępnij za pośrednictwem


HidBooleanControlDescription Class

Definition

Describes a Boolean control for a given HID device.

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

Remarks

Version history

Windows version SDK version Value added
1607 14393 IsAbsolute

Properties

Id

Gets the identifier for a given Boolean control.

IsAbsolute

Gets a value indicating whether the given boolean control values are absolute or relative (change in value from that previously reported).

ParentCollections

Gets the parent collection for a given Boolean control.

ReportId

Gets the report ID of the HID report that contains the usage or usage range for the given Boolean control.

ReportType

Gets the type of HID report associated with the given Boolean control.

UsageId

Gets the usage identifier associated with the given Boolean control.

UsagePage

Gets the usage page associated with the given Boolean control.

Applies to

See also