The following sample programs demonstrate the use and capabilities of DirectInput.
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.