PointerDeviceUsage PointerDeviceUsage PointerDeviceUsage PointerDeviceUsage Struct

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.

Syntax

Declaration

public struct PointerDeviceUsagepublic struct PointerDeviceUsagePublic Structure PointerDeviceUsage

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 summary

The maximum logical value for Usage.

The maximum physical value for Usage.

The minimum logical value for Usage.

The minimum physical value for Usage.

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.)

The Human Interface Device (HID) unit of measure.

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.

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).

Fields

  • MaxLogical
    MaxLogical
    MaxLogical
    MaxLogical

    The maximum logical value for Usage.

    public field int MaxLogicalpublic field int MaxLogicalPublic Field MaxLogical
  • MaxPhysical
    MaxPhysical
    MaxPhysical
    MaxPhysical

    The maximum physical value for Usage.

    public field int MaxPhysicalpublic field int MaxPhysicalPublic Field MaxPhysical
  • MinLogical
    MinLogical
    MinLogical
    MinLogical

    The minimum logical value for Usage.

    public field int MinLogicalpublic field int MinLogicalPublic Field MinLogical
  • MinPhysical
    MinPhysical
    MinPhysical
    MinPhysical

    The minimum physical value for Usage.

    public field int MinPhysicalpublic field int MinPhysicalPublic Field MinPhysical
  • PhysicalMultiplier
    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
  • Unit
    Unit
    Unit
    Unit

    The Human Interface Device (HID) unit of measure.

    public field uint Unitpublic field uint UnitPublic Field Unit
  • Usage
    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 uint Usagepublic field uint UsagePublic Field Usage
  • UsagePage
    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 uint UsagePagepublic field uint UsagePagePublic Field UsagePage

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Input.dll