DirectX SDK |
The DirectInputDeviceInstance.GetUsagePage method retrieves the usage page for Human Interface Devices.
object.GetUsagePage() As Integer
If the device is a HID, the method returns the HID usage page.
If the method fails, an error is raised and Err.Number will be set.