Skip to main content
HidNumericControl class

Represents a numeric control on a HID device that returns a range of values. An example would be the volume control on a speaker.

Syntax


var hidNumericControl = getNumericControl();
var hidNumericControl = getNumericControlByDescription();

public sealed class HidNumericControl

Public NotInheritable Class HidNumericControl

public ref class HidNumericControl sealed 

Members

The HidNumericControl class has these types of members:

Properties

The HidNumericControl class has these properties.

PropertyAccess typeDescription

ControlDescription

Read-only

Retrieves a control description for the given numeric control.

Id

Read-only

Retrieves the identifier for the given numeric control.

IsGrouped

Read-only

Retrieves a Boolean value that indicates whether the given numeric control is grouped with other, related controls.

ScaledValue

Read/write

Retrieves, or sets, a scaled numeric-value for the given control.

UsageId

Read-only

Retrieves the usage identifier for the given numeric control.

UsagePage

Read-only

Retrieves the usage page for the given numeric control.

Value

Read/write

Retrieves, or sets, the numeric value for a given control.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.HumanInterfaceDevice
Windows::Devices::HumanInterfaceDevice [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.HumanInterfaceDevice
Windows::Devices::HumanInterfaceDevice [C++]

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Version(0x06030000)]

See also

Object