CONST_DIGFFSFLAGS
Members of this enumeration describe the state of a force-feedback device. They are returned by the DirectInputDevice8.GetForceFeedbackState method.
Enum CONST_DIGFFSFLAGS
DIGFFS_ACTUATORSOFF = 32 (&H20)
DIGFFS_ACTUATORSON = 16 (&H10)
DIGFFS_DEVICELOST = -2147483648 (&H80000000)
DIGFFS_EMPTY = 1
DIGFFS_PAUSED = 4
DIGFFS_POWEROFF = 128 (&H80)
DIGFFS_POWERON = 64 (&H40)
DIGFFS_SAFETYSWITCHOFF = 512 (&H200)
DIGFFS_SAFETYSWITCHON = 256 (&H100)
DIGFFS_STOPPED = 2
DIGFFS_USERFFSWITCHOFF = 2048 (&H800)
DIGFFS_USERFFSWITCHON = 1024 (&H400)
End Enum
Constants
- DIGFFS_ACTUATORSOFF
- The device's force-feedback actuators are disabled.
- DIGFFS_ACTUATORSON
- The device's force-feedback actuators are enabled.
- DIGFFS_DEVICELOST
- The device suffered an unexpected failure and is in an indeterminate state. It must be reset either by unacquiring and reacquiring the device, or by sending a DISFFC_RESET command.
- DIGFFS_EMPTY
- The device has no downloaded effects.
- DIGFFS_PAUSED
- Playback of all active effects has been paused.
- DIGFFS_POWEROFF
- The force-feedback system is not currently available. If the device cannot report the power state, then neither DIGFFS_POWERON nor DIGFFS_POWEROFF will be returned.
- DIGFFS_POWERON
- Power to the force-feedback system is currently available. If the device cannot report the power state, then neither DIGFFS_POWERON nor DIGFFS_POWEROFF will be returned.
- DIGFFS_SAFETYSWITCHOFF
- The safety switch is currently off, meaning that the device cannot operate. If the device cannot report the state of the safety switch, then neither DIGFFS_SAFETYSWITCHON nor DIGFFS_SAFETYSWITCHOFF will be returned.
- DIGFFS_SAFETYSWITCHON
- The safety switch is currently on, meaning that the device can operate. If the device cannot report the state of the safety switch, then neither DIGFFS_SAFETYSWITCHON nor DIGFFS_SAFETYSWITCHOFF will be returned.
- DIGFFS_STOPPED
- No effects are playing and the device is not paused.
- DIGFFS_USERFFSWITCHOFF
- The user force-feedback switch is currently off, meaning that the device cannot operate. If the device cannot report the state of the user force-feedback switch, then neither DIGFFS_USERFFSWITCHON nor DIGFFS_USERFFSWITCHOFF will be returned.
- DIGFFS_USERFFSWITCHON
- The user force-feedback switch is currently on, meaning that the device can operate. If the device cannot report the state of the user force-feedback switch, then neither DIGFFS_USERFFSWITCHON nor DIGFFS_USERFFSWITCHOFF will be returned.