DirectX SDK

CONST_DIDEVCAPSFLAGS

The CONST_DIDEVCAPSFLAGS enumeration is used in the lFlags member of the DIDEVCAPS type to describe the DirectInput device.

Enum CONST_DIDEVCAPSFLAGS
    DIDC_ATTACHED =              1 
    DIDC_DEADBAND =          16384 (&H4000)
    DIDC_EMULATED =              4 
    DIDC_FFATTACK =            512 (&H200)
    DIDC_FFFADE =             1024 (&H400)
    DIDC_FORCEFEEDBACK =       256 (&H100)
    DIDC_POLLEDDATAFORMAT =      8 
    DIDC_POLLEDDEVICE =          2 
    DIDC_POSNEGCOEFFICIENTS = 4096 (&H1000)
    DIDC_POSNEGSATURATION =   8192 (&H2000)
    DIDC_SATURATION =         2048 (&H800)
End Enum
DIDC_ATTACHED
The device is physically attached.
DIDC_DEADBAND
The device supports deadband for at least one force-feedback condition.
DIDC_EMULATED
If this flag is set, the data is coming from a user mode device interface (such as HID) or by some other ring 3 means. If it is not set, the data is coming directly from a kernel mode driver.
DIDC_FFATTACK
The force-feedback system supports the attack parameter for at least one effect. If the device does not support attack then the lAttackLevel and lAttackTime members of the DIENVELOPE type will be ignored by the device.
DIDC_FFFADE
The force-feedback system supports the fade parameter for at least one effect. If the device does not support fade then the lFadeLevel and lFadeTime members of the DIENVELOPE type will be ignored by the device.
DIDC_FORCEFEEDBACK
The device supports force feedback.
DIDC_POLLEDDATAFORMAT
At least one object in the current data format is polled rather than interrupt-driven. For these objects, the application must explicitly call the DirectInputDevice.Poll method in order to obtain data.
DIDC_POLLEDDEVICE
At least one object on the device is polled rather than interrupt-driven. For these objects, the application must explicitly call the DirectInputDevice.Poll method in order to obtain data. HID devices may contain a mixture of polled and non-polled objects.
DIDC_POSNEGCOEFFICIENTS
The force-feedback system supports two coefficient values for conditions (one for the positive displacement of the axis and one for the negative displacement of the axis) for at least one condition. If the device does not support both coefficients, then the negative coefficient in the DICONDITION type will be ignored.
DIDC_POSNEGSATURATION
The force-feedback system supports a maximum saturation for both positive and negative force output for at least one condition. If the device does not support both saturation values, then the negative saturation in the DICONDITION structure will be ignored.
DIDC_SATURATION
The force-feedback system supports the saturation of condition effects for at least one condition. If the device does not support saturation, then the force generated by a condition is limited only by the maximum force which the device can generate.

See Also

CONST_DIEFTFLAGS