DirectX SDK |
The DirectInputDeviceObjectInstance.GetDimension method retrieves a HID code for the dimensional units in which the object's value is reported.
object.GetDimension() As Long
The method returns a code for the dimensional units in which the object's value is reported, if known, or 0 if not known.
If the method fails, an error is raised and Err.Number will be set.