DirectInputDeviceObjectInstance.GetGuidType
The DirectInputDeviceObjectInstance.GetGuidType method retrieves the unique identifier of the object type.
object.GetGuidType() As String
Parameters
- object
- Object expression that resolves to a DirectInputDeviceObjectInstance object.
Return Values
The method may return one of the following string identifiers, representing the unique identifier for the object type. If the object type has a GUID not represented in the following list, a string representing the actual GUID will be returned. If the object type does not have a GUID, an empty string will be returned. 
- GUID_XAxis 
- The horizontal axis. For example, it may represent the left-right motion of a mouse. 
- GUID_YAxis 
- The vertical axis. For example, it may represent the forward-backward motion of a mouse. 
- GUID_ZAxis 
- The z-axis. For example, it may represent rotation of the wheel on a mouse, or movement of a throttle control on a joystick. 
- GUID_RxAxis 
- Rotation around the x-axis. 
- GUID_RyAxis 
- Rotation around the y-axis. 
- GUID_RzAxis 
- Rotation around the z-axis (often a rudder control). 
- GUID_Slider 
- A slider axis. 
- GUID_Button 
- A button on a mouse. 
- GUID_Key 
- A key on a keyboard. 
- GUID_POV 
- A point-of-view indicator or "hat". 
- GUID_Unknown 
- Unknown. 
Error Codes
If the method fails, an error is raised and Err.Number will be set.