Microsoft DirectX 8.1 (Visual Basic)

ForceFeedback Sample

Description

The ForceFeedback sample program is a simple force-feedback editor that enables you to create an effect, set parameters, and play the effect.

Path

Source: (SDK root)\Samples\Multimedia\VBSamples\DirectInput\Feedback

Executable: (SDK root)\Samples\Multimedia\VBSamples\DirectInput\Bin\VB_ForceFeedback.exe

User's Guide

Select an effect type from the list, and modify the parameters. Play the effect by pressing the primary button on the joystick.

Programming Notes

The ForceFeedback sample program shows how to turn off the autocenter property and how to create and modify effects. Changes in effect parameters are applied immediately.