VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Input_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_InputDevice::SendForceFeedbackCommand() ]     [ next: SetCooperativeLevel() ]     [ prev: SendDeviceData() ]

    public:

         virtual bool __fastcall SendForceFeedbackCommand( dword pFlags );





    -= Go to the TDx_InputDevice description =-    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.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.