i
i
i
i
i
i
i
i
17.2. Force Feedback with DirectInput 487
The key to using force feedback in DirectInput is to think in terms of a
force effect, such as an effect that simulates driving a car over a bumpy road.
There are two types of effect, supported effects and created effects. A supported
effect is a basic property of the input device, such as a constant resistance to
pushing a joystick handle away from its center position. A created effect is
a composite of the supported effects brought together to simulate a specific
scenario, such as the bumpy road.
An application program which wishes to use force feedback begins by first
enumerating the devices available to it. After enumeration of the supported
effects, the program sets about building the created effects ...