Platform SDK: DirectX

DirectInput C/C++ Samples

[Visual Basic]

This section pertains only to application development in C and C++. See DirectInput Visual Basic Samples.

[C++]

The following sample programs demonstrate the use and capabilities of DirectInput:

In addition, amply commented source code illustrating basic DirectInput functionality is available at the following location:

(SDK root)\Samples\Multimedia\DInput\Src\Tutorials

Although DirectX samples include Microsoft® Visual C++® project workspace files, you might need to verify other settings in your development environment to ensure that the samples compile properly. For more information, see Compiling DirectX Samples and Other DirectX Applications.