This section contains four tutorials, each providing step-by-step instructions for implementing basic DirectInput functionality.
The first tutorial shows how to add DirectInput keyboard support to an existing application.
The next tutorial takes you through the steps of providing DirectInput mouse support in an application. The tutorial is based on the Scrawl sample, and focuses on buffered data.
This tutorial shows how to enumerate all the joysticks connected to a system, how to create and initialize DirectInputDevice objects for each of them in a callback function, and how to retrieve immediate data. Sample code is from the Space Donuts sample.
The final tutorial illustrates the creation and manipulation of a simple effect on a force-feedback joystick.