Microsoft DirectX 8.1 (Visual Basic)

Tutorial 5: Using Action Mapping

This tutorial guides you through the setup, modification, and application of an action map. Code samples are based on the ActionMapper Sample, which is designed as though it were a space combat game.

Preliminary steps of setting up the Microsoft—> DirectInput—> system are the same for any application and are covered in detail in the other tutorials. The keyboard, mouse, and a joystick (if present) are all used in the sample, so each of those devices needs to be set up.

The tutorial divides the tasks into the following steps.