CONST_DIDFTFLAGS
Members of the CONST_DIDFTFLAGS enumeration are used in the flags parameter of the DirectInputDevice.GetDeviceObjectsEnum method to specify the type of device object to enumerate. These values are also returned by the DirectInputDeviceObjectInstance.GetFlags method to describe capabilities of the device object.
Enum CONST_DIDFTFLAGS
DIDFT_ABSAXIS = 2
DIDFT_ALL = 0
DIDFT_ANYINSTANCE = 16776960 (&HFFFF00)
DIDFT_AXIS = 3
DIDFT_BUTTON = 12
DIDFT_COLLECTION = 64 (&H40)
DIDFT_FFACTUATOR = 16777216 (&H1000000)
DIDFT_FFEFFECTTRIGGER = 33554432 (&H2000000)
DIDFT_INSTANCEMASK = 16776960(&HFFFF00)
DIDFT_NOCOLLECTION = 16776960 (&HFFFF00)
DIDFT_NODATA = 128 (&H80)
DIDFT_POV = 16 (&H10)
DIDFT_PSHBUTTON = 4
DIDFT_RELAXIS = 1
DIDFT_TGLBUTTON = 8
End Enum
- DIDFT_ABSAXIS
- An absolute axis.
- DIDFT_ALL
- All objects.
- DIDFT_ANYINSTANCE
- Any instance of an object.
- DIDFT_AXIS
- An axis, either absolute or relative.
- DIDFT_BUTTON
- A push button or a toggle button.
- DIDFT_COLLECTION
- A HID link collection. HID link collections do not generate data of their own.
- DIDFT_FFACTUATOR
- An object that contains a force-feedback actuator. In other words, forces can be applied to this object.
- DIDFT_FFEFFECTTRIGGER
- An object that can be used to trigger force-feedback effects.
- DIDFT_INSTANCEMASK
- Same as DIDFT_ANYINSTANCE.
- DIDFT_NOCOLLECTION
- An object that does not belong to any HID link collection; in other words, an object for which DirectInputDeviceObjectInstance.GetCollectionNumber returns 0.
- DIDFT_NODATA
- An object that does not generate data.
- DIDFT_POV
- A point-of-view controller.
- DIDFT_PSHBUTTON
- A push button. A push button is reported as down when the user presses it and as up when the user releases it.
- DIDFT_RELAXIS
- A relative axis.
- DIDFT_TGLBUTTON
- A toggle button. A toggle button is reported as down when the user presses it and remains so until the user presses the button a second time.