CONST_DIDEVCAPSFLAGS
Used in the lFlags member of the DIDEVCAPS type to describe the Microsoft® DirectInput® device.
Enum CONST_DIDEVCAPSFLAGS
DIDC_ALIAS = 65536 (&H10000)
DIDC_ATTACHED = 1
DIDC_DEADBAND = 16384 (&H4000)
DIDC_EMULATED = 4
DIDC_FFATTACK = 512 (&H200)
DIDC_FFFADE = 1024 (&H400)
DIDC_FORCEFEEDBACK = 256 (&H100)
DIDC_PHANTOM = 131072 (&H20000)
DIDC_POLLEDDATAFORMAT = 8
DIDC_POLLEDDEVICE = 2
DIDC_POSNEGCOEFFICIENTS = 4096 (&H1000)
DIDC_POSNEGSATURATION = 8192 (&H2000)
DIDC_SATURATION = 2048 (&H800)
End Enum
Constants
- DIDC_ALIAS
- The device is a duplicate of another DirectInput device. Alias devices are by default not enumerated by DirectInput8.GetDIDevices.
- DIDC_ATTACHED
- The device is physically .
- 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 a Human Interface Device (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 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 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_PHANTOM
- The device does not exist. It is a placeholder for a device that might exist later. Phantom devices are by default not enumerated by DirectInput8.GetDIDevices.
- 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 DirectInputDevice8.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 DirectInputDevice8.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 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 type will be ignored.
- DIDC_SATURATION
- The force-feedback system supports the 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 that the device can generate.
See Also
CONST_DIEFTFLAGS