Platform SDK: DirectX |
This section pertains only to application development in C and C++. See DirectInput Visual Basic Samples.
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.