CONST_DIDFTFLAGS
Used in the flags parameter of the DirectInputDevice8.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_OUTPUT = 268435456 (&H10000000)
DIDFT_POV = 16 (&H10)
DIDFT_PSHBUTTON = 4
DIDFT_RELAXIS = 1
DIDFT_TGLBUTTON = 8
End Enum
Constants
- DIDFT_ABSAXIS
- Absolute axis.
- DIDFT_ALIAS
- Controls identified by a Human Interface Device (HID) usage alias. This flag applies only to HID-compliant USB devices.
- DIDFT_ALL
- All objects.
- DIDFT_ANYINSTANCE
- Use the first instance enumerated that meets other criteria such as DIDFT_AXIS or DIDFT_BUTTON.
- DIDFT_AXIS
- Axis, either absolute or relative.
- DIDFT_BUTTON
- Push button or a toggle button.
- DIDFT_COLLECTION
- Human Interface Device (HID) link collection. HID link collections do not generate data of their own.
- DIDFT_FFACTUATOR
- Object that contains a force-feedback actuator. In other words, forces can be applied to this object.
- DIDFT_FFEFFECTTRIGGER
- Object that can be used to trigger force-feedback effects.
- DIDFT_INSTANCEMASK
- Same as DIDFT_ANYINSTANCE.
- DIDFT_NOCOLLECTION
- Object that does not belong to any HID link collection; in other words, an object for which DirectInputDeviceObjectInstance.GetCollectionNumber returns 0.
- DIDFT_NODATA
- Object that does not generate data.
- DIDFT_OUTPUT
- Object to which data can be sent by using the DirectInputDevice8.SendDeviceData method.
- DIDFT_POV
- Point-of-view controller.
- DIDFT_PSHBUTTON
- Push button. A push button is reported as down when the user presses it and as up when the user releases it.
- DIDFT_RELAXIS
- Relative axis.
- DIDFT_TGLBUTTON
- 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.
- DIDFT_VENDORDEFINED
- An object of a type defined by the manufacturer.