C4 Engine
C4 Engine API Documentation

InputControl::GetInputControlHidUsage

Defined in:  C4Input.h
Returns the 32-bit HID usage value for an input control.
Prototype

uint32 GetInputControlHidUsage(voidconst;

Description
The GetInputControlHidUsage function returns the 32-bit HID usage value for an input control. The high 16 bits contain the HID usage page, and the low 16 bits contain the HID usage value within that page.

Input controls having the type kInputControlGroup always have a HID usage value of zero.

See the input device subclasses for more information about HID usages for the controls belonging to each particular type of device.
See Also

InputControl::GetInputControlType

InputControl::GetInputControlName

InputDevice::GetInputDeviceHidUsage