HidNumericControlDescription
HidNumericControlDescription
HidNumericControlDescription
HidNumericControlDescription
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// You can use this class in JavaScript.
- Attributes
| 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 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// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the control supports a null value; false otherwise.
Id Id Id Id
Retrieves the identifier for a given numeric control.
public : unsigned int Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
Identifies the control.
IsAbsolute 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// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the values are absolute; false if the values are relative.
LogicalMaximum 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// You can use this property in JavaScript.
- Value
- int int int int
The logical maximum value.
LogicalMinimum 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// You can use this property in JavaScript.
- Value
- int int int int
The logical minimum value.
ParentCollections ParentCollections ParentCollections ParentCollections
Retrieves the parent collections for a given numeric control.
public : IVectorView<HidCollection> ParentCollections { get; }public IReadOnlyList<HidCollection> ParentCollections { get; }Public ReadOnly Property ParentCollections As IReadOnlyList<HidCollection>// You can use this property in JavaScript.
- Value
- IVectorView<HidCollection> IReadOnlyList<HidCollection> IReadOnlyList<HidCollection> IReadOnlyList<HidCollection>
A vector of HidCollection objects.
PhysicalMaximum 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// You can use this property in JavaScript.
- Value
- int int int int
The physical maximum value.
PhysicalMinimum 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// You can use this property in JavaScript.
- Value
- int int int int
The physical minimum value.
ReportCount ReportCount ReportCount ReportCount
Retrieves the number of reports associated with the given control.
public : unsigned int ReportCount { get; }public uint ReportCount { get; }Public ReadOnly Property ReportCount As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The number of reports.
ReportId 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// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The report identifier.
ReportSize ReportSize ReportSize ReportSize
Retrieves the size, in bytes, of the given numeric control.
public : unsigned int ReportSize { get; }public uint ReportSize { get; }Public ReadOnly Property ReportSize As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The report size (in bytes).
ReportType 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// You can use this property in JavaScript.
The report type.
Unit Unit Unit Unit
Retrieves the unit associated with the given numeric control.
public : unsigned int Unit { get; }public uint Unit { get; }Public ReadOnly Property Unit As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The report unit.
UnitExponent UnitExponent UnitExponent UnitExponent
Retrieves the unit exponent for the given numeric control.
public : unsigned int UnitExponent { get; }public uint UnitExponent { get; }Public ReadOnly Property UnitExponent As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The unit exponent.
UsageId 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// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The usage identifierl.
UsagePage 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// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The usage page.