InputDevice::GetInputDeviceHidUsage
Defined in:
Returns the HID usage of an input device.
C4Input.h
Prototype
uint32 GetInputDeviceHidUsage(void) const;
Description
The GetInputDeviceHidUsage
function returns the 32-bit HID usage value for an input device. The high 16 bits contain the usage page, and the low 16 bits contain the specific usage value within that page. The Input Manager recognizes input devices having the following usage pages defined by the HID Specification.
0x0001 |
Generic Desktop Controls |
0x0002 |
Simulation Controls |
0x0004 |
Sport Controls |
0x0005 |
Game Controls |
See Also
InputDevice::GetInputDeviceType