مشاركة عبر


PointerPointProperties.GetUsageValue(UInt32, UInt32) Method

Definition

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

public:
 virtual int GetUsageValue(unsigned int usagePage, unsigned int usageId) = GetUsageValue;
int GetUsageValue(uint32_t const& usagePage, uint32_t const& usageId);
public int GetUsageValue(uint usagePage, uint usageId);
function getUsageValue(usagePage, usageId)
Public Function GetUsageValue (usagePage As UInteger, usageId As UInteger) As Integer

Parameters

usagePage
UInt32

unsigned int

uint32_t

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

unsigned int

uint32_t

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

Int32

int

The extended usage of the raw input pointer.

Applies to

See also