PointerPointProperties.GetUsageValue(UInt32, UInt32) PointerPointProperties.GetUsageValue(UInt32, UInt32) PointerPointProperties.GetUsageValue(UInt32, UInt32) PointerPointProperties.GetUsageValue(UInt32, UInt32) PointerPointProperties.GetUsageValue(UInt32, UInt32) Method

Definition

Gets the Human Interface Device (HID) usage value of the raw input.

public : int GetUsageValue(unsigned int usagePage, unsigned int usageId)
int32_t GetUsageValue(uint32_t usagePage, uint32_t usageId) const;
public int GetUsageValue(UInt32 usagePage, UInt32 usageId)
Public Function GetUsageValue(usagePage As UInt32, usageId As UInt32) As int
var int = pointerPointProperties.getUsageValue(usagePage, usageId);

Parameters

usagePage
UInt32 UInt32 UInt32

The Human Interface Device (HID) usage page of the pointer device. Usage pages specify the class of device. For example, touch digitizers (0x0D) and generic input (0x01).

usageId
UInt32 UInt32 UInt32

Indicates a usage in a usage page.Usage ID specify a device or property in the usagePage. For example, for touch digitizers this includes tip switch (0x42) to indicate finger contact or tip pressure (0x30).

Returns

int int int

The extended usage of the raw input pointer.

See also