Share via


HidNumericControlDescription Class

Definition

Describes a numeric control for a given HID device.

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

HasNull

Gets a Boolean value which indicates whether the control supports a null, or out-of-range, value.

Id

Gets the identifier for a given numeric control.

IsAbsolute

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

LogicalMaximum

Gets the highest possible value for the given control.

LogicalMinimum

Gets the lowest possible value for the given control.

ParentCollections

Gets the parent collections for a given numeric control.

PhysicalMaximum

Gets the highest possible value for the given control after scaling is applied to the LogicalMaximum value.

PhysicalMinimum

Gets the lowest possible value for the given control after scaling is applied to the LogicalMinimum value.

ReportCount

Gets the number of reports associated with the given control.

ReportId

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

ReportSize

Gets the size of the data field for the usage in a report.

ReportType

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

Unit

Specifies the units of the usage, as described by the USB HID Standard.

UnitExponent

Gets the unit exponent for the given numeric control.

UsageId

Gets the usage identifier associated with the given numeric control.

UsagePage

Gets the usage page associated with the given numeric control.

Applies to

See also