Force Feedback

Force feedback is the generation of push or resistance in an input/output device, for example by motors mounted in the base of a joystick. DirectInput allows you to generate force-feedback effects for devices that have compatible drivers.

The following sections introduce the elements of force feedback:

To enumerate, create, and manipulate effects, you must first obtain a pointer to the IDirectInputDevice2 interface for the force-feedback device. For an example of how to do this, see Creating the DirectInput Device.