Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDx_InputDevice::SendForceFeedbackCommand() ]
[ next: SetCooperativeLevel() ]
[ prev: SendDeviceData() ]
public:
virtual bool __fastcall SendForceFeedbackCommand( dword pFlags );
TDX_INPUTDEVICE::SENDFORCEFEEDBACKCOMMAND()
[ component method ]
- Description
- Parameters
Flags
The Flags parameter defines flags identifying the command to be sent to the force feedback system of the device.
The described effect applies when the flag is set.
DISFFC_CONTINUE
Continue playback of any active effects that are currently paused.
This command will generate an error when applied to a device that is not paused.
DISFFC_PAUSE
Pause playback of any active effects the device is currently playing.
An effect will continue to play to its full duration when a DISFFC_CONTINUE command is sent.
Modifying or starting effects while the device is paused may cause undefined behaviour.
DISFCC_RESET or DISFCC_STOPALL will abandon the pause and stop all effects.
DISFFC_RESET
Reset the force feedback system to its startup state for this device.
This disables the device's actuators and wipes all effects are from the device.
Effects must be recreated if further use is desired.
DISFFC_SETACTUATORSOFF
Disable the force feedback actuators for this device.
Effects will continue to be played, but are ignored by the device.
DISFFC_SETACTUATORSON
Enable the force feedback actuators for this device.
DISFFC_STOPALL
Halt and reset any active effects currently playing on the device.
This command is equivilent to calling TDx_InputDevice::Stop for each effect and will also unpause the device.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|