Hid​Numeric​Control​Description Hid​Numeric​Control​Description Hid​Numeric​Control​Description Class

Definition

Describes a numeric control for a given HID device.

public sealed class HidNumericControlDescription : IHidNumericControlDescriptionpublic sealed class HidNumericControlDescription : IHidNumericControlDescriptionPublic NotInheritable Class HidNumericControlDescription Implements IHidNumericControlDescription
Attributes
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)

Properties

HasNull HasNull HasNull

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

public PlatForm::Boolean HasNull { get; }public bool HasNull { get; }Public ReadOnly Property HasNull As bool
Value
bool bool bool

True if the control supports a null value; false otherwise.

Attributes

Id Id Id

Retrieves the identifier for a given numeric control.

public unsigned short Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint
Value
uint uint uint

Identifies the control.

Attributes

IsAbsolute IsAbsolute IsAbsolute

Retrieves a Boolean value indicating whether the given control values are absolute or relative.

public PlatForm::Boolean IsAbsolute { get; }public bool IsAbsolute { get; }Public ReadOnly Property IsAbsolute As bool
Value
bool bool bool

True if the values are absolute; false if the values are relative.

Attributes

LogicalMaximum LogicalMaximum LogicalMaximum

Retrieves the logical maximum value for the given control.

public int LogicalMaximum { get; }public int LogicalMaximum { get; }Public ReadOnly Property LogicalMaximum As int
Value
int int int

The logical maximum value.

Attributes

LogicalMinimum LogicalMinimum LogicalMinimum

Retrieves the logical minimum value for the control.

public int LogicalMinimum { get; }public int LogicalMinimum { get; }Public ReadOnly Property LogicalMinimum As int
Value
int int int

The logical minimum value.

Attributes

ParentCollections ParentCollections ParentCollections

Retrieves the parent collections for a given numeric control.

public IVectorView<HidCollection> ParentCollections { get; }public IVectorView<HidCollection> ParentCollections { get; }Public ReadOnly Property ParentCollections As IVectorView<HidCollection>
Value

A vector of HidCollection objects.

Attributes

PhysicalMaximum PhysicalMaximum PhysicalMaximum

Retrieves the physical maximum-value for the given control.

public int PhysicalMaximum { get; }public int PhysicalMaximum { get; }Public ReadOnly Property PhysicalMaximum As int
Value
int int int

The physical maximum value.

Attributes

PhysicalMinimum PhysicalMinimum PhysicalMinimum

Retrieves the physical minimum-value for the given control.

public int PhysicalMinimum { get; }public int PhysicalMinimum { get; }Public ReadOnly Property PhysicalMinimum As int
Value
int int int

The physical minimum value.

Attributes

ReportCount ReportCount ReportCount

Retrieves the number of reports associated with the given control.

public unsigned short ReportCount { get; }public uint ReportCount { get; }Public ReadOnly Property ReportCount As uint
Value
uint uint uint

The number of reports.

Attributes

ReportId ReportId ReportId

Retrieves the identifier for the report associated with the given numeric control.

public ushort ReportId { get; }public ushort ReportId { get; }Public ReadOnly Property ReportId As ushort
Value
ushort ushort ushort

The report identifier.

Attributes

ReportSize ReportSize ReportSize

Retrieves the size, in bytes, of the given numeric control.

public unsigned short ReportSize { get; }public uint ReportSize { get; }Public ReadOnly Property ReportSize As uint
Value
uint uint uint

The report size (in bytes).

Attributes

ReportType ReportType ReportType

Retrieves the type of report associated with the given numeric control.

public HidReportType ReportType { get; }public HidReportType ReportType { get; }Public ReadOnly Property ReportType As HidReportType
Value
HidReportType HidReportType HidReportType

The report type.

Attributes

Unit Unit Unit

Retrieves the unit associated with the given numeric control.

public unsigned short Unit { get; }public uint Unit { get; }Public ReadOnly Property Unit As uint
Value
uint uint uint

The report unit.

Attributes

UnitExponent UnitExponent UnitExponent

Retrieves the unit exponent for the given numeric control.

public unsigned short UnitExponent { get; }public uint UnitExponent { get; }Public ReadOnly Property UnitExponent As uint
Value
uint uint uint

The unit exponent.

Attributes

UsageId UsageId UsageId

Retrieves the usage identifier associated with the given numeric control.

public ushort UsageId { get; }public ushort UsageId { get; }Public ReadOnly Property UsageId As ushort
Value
ushort ushort ushort

The usage identifierl.

Attributes

UsagePage UsagePage UsagePage

Retrieves the usage page associated with the given numeric control.

public ushort UsagePage { get; }public ushort UsagePage { get; }Public ReadOnly Property UsagePage As ushort
Value
ushort ushort ushort

The usage page.

Attributes