DIDEVCAPS
The DIDEVCAPS type contains information about a DirectInput device's capabilities. This type is used with the DirectInputDevice.GetCapabilities method.
Type DIDEVCAPS
lAxes As Long
lButtons As Long
lDevType As CONST_DIDEVICETYPE
lDriverVersion As Long
lFFMinTimeResolution As Long
lFFSamplePeriod As Long
lFirmwareRevision As Long
lFlags As CONST_DIDEVCAPSFLAGS
lHardwareRevision As Long
lPOVs As Long
End Type
Members
- lAxes
- Number of axes available on the device.
- lButtons
- Number of buttons available on the device.
- lDevType
- A packed value containing information about the type and subtype of the device. The value is identical to that returned by the DirectInputDeviceInstance.GetDevType method.
- lDriverVersion
- The version number of the device driver.
- lFFMinTimeResolution
- The minimum amount of time, in microseconds, that the device can resolve when playing force-feedback effects. The device rounds any times to the nearest supported increment. For example, if the value of lFFMinTimeResolution is 1000, then the device would round any times to the nearest millisecond.
- lFFSamplePeriod
- The minimum time between playback of consecutive raw force commands.
- lFirmwareRevision
- Specifies the firmware revision of the device.
- lFlags
- Flags associated with the device. This value can be a combination of the constants of the CONST_DIDEVCAPSFLAGS enumeration.
- lHardwareRevision
- The hardware revision of the device.
- lPOVs
- Number of point-of-view controllers available on the device.
Remarks
The semantics of version numbers are left to the manufacturer of the device. The only guarantee is that newer versions will have larger numbers.