DirectX SDK |
This topic pertains only to application development in Visual Basic. See DirectInput C/C++ Samples.
This sample is a simple force-feedback editor that allows you to create an effect, set parameters, and play the effect.
Source: (SDK root)\Samples\Multimedia\VBSamples\Dinput\Src\FFeedback
Executable: (SDK root)\Samples\Multimedia\VBSamples\Dinput\Bin\ForceFeedback.exe
Select an effect type from the list, and modify the parameters. Play the effect by pressing the primary button on the joystick.
The sample shows how to turn off the autocenter property and how to create and modify effects. Changes in effect parameters are applied immediately.