Pointer​Device​Usage Pointer​Device​Usage Pointer​Device​Usage Struct

Definition

Identifies the Human Interface Device (HID) usage details for the input device.

A Human Interface Device (HID) usage describes what a Human Interface Device (HID)-compliant control is measuring or reporting and can also indicate the control's intended use. A specific control usage is defined by its usage page, a usage ID, a name, and a description.

public : struct PointerDeviceUsagepublic struct PointerDeviceUsagePublic Structure PointerDeviceUsage
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

A Human Interface Device (HID) usage describes what a Human Interface Device (HID)-compliant control is measuring or reporting and can also indicate the control's intended use. A specific control usage is defined by its usage page, a usage ID, a name, and a description. For more info, see Device Class Definition for .

Note

The core of the Microsoft interactive input device architecture is based on the Universal Serial Bus (USB) standard Device Class Definition for Human Interface Device (HID), which is defined by the Implementers Forum, Inc.

The Universal Serial Bus (USB) Human Interface Device (HID) standard defines the configuration and communication protocols for Human Interface Device (HID), such as keyboards, mouse devices, joysticks, and virtual reality devices, that humans use to enter data directly into a computer. (For detailed information about the USB HID standard, see the USB Implementers Forum website.)

Although the core of the Windows input architecture is based on the Universal Serial Bus (USB) Human Interface Device (HID) standard, the architecture is not limited to Universal Serial Bus (USB) devices. The input architecture also supports serial port devices, i8042 port devices, and proprietary input devices.

Fields

MaxLogical MaxLogical MaxLogical

The maximum logical value for Usage.

public : field int MaxLogicalpublic field int MaxLogicalPublic Field MaxLogical
Attributes

MaxPhysical MaxPhysical MaxPhysical

The maximum physical value for Usage.

public : field int MaxPhysicalpublic field int MaxPhysicalPublic Field MaxPhysical
Attributes

MinLogical MinLogical MinLogical

The minimum logical value for Usage.

public : field int MinLogicalpublic field int MinLogicalPublic Field MinLogical
Attributes

MinPhysical MinPhysical MinPhysical

The minimum physical value for Usage.

public : field int MinPhysicalpublic field int MinPhysicalPublic Field MinPhysical
Attributes

PhysicalMultiplier PhysicalMultiplier PhysicalMultiplier

The multiplier used to convert the usage value reported by the device to a physical value in units of Unit. (Valid only for usages that indicate a static or dynamic value associated with a control, such as pressure or width and height of the touch contact.)

public : field float PhysicalMultiplierpublic field float PhysicalMultiplierPublic Field PhysicalMultiplier
Attributes

Unit Unit Unit

The Human Interface Device (HID) unit of measure.

public : field unsigned short Unitpublic field uint UnitPublic Field Unit
Attributes

Usage Usage Usage

The Human Interface Device (HID) pointer device usage ID that specifies a device or property in the UsagePage. For example, 0x04 indicates a touch screen device and 0x47 indicates touch confidence.

Note

A usage ID of zero is reserved.

public : field unsigned short Usagepublic field uint UsagePublic Field Usage
Attributes

UsagePage UsagePage UsagePage

The Human Interface Device (HID) usage page of the pointer device. Human Interface Device (HID) usages are organized into usage pages that specify classes of related devices. For example, touch digitizers (0x0D) and generic input (0x01).

public : field unsigned short UsagePagepublic field uint UsagePagePublic Field UsagePage
Attributes