DirectX SDK |
The DirectInputDeviceObjectInstance.GetName method retrieves the friendly name of the device object.
object.GetName() As String
The method retrieves the name of the object—for example, "X-Axis" or "Right Shift."
If the method fails, an error is raised and Err.Number will be set.