DirectX SDK

DirectInput

The DirectInput class represents the DirectInput system. An application should have a single object of this class, which is used to enumerate available devices, create devices, and retrieve the status of devices, as well as to invoke an instance of the Windows Control Panel.

The DirectInput object is obtained by using the DirectX7.DirectInputCreate method.

The DirectInput class has the following methods:

Device Management CreateDevice
  GetDeviceStatus
GetDIEnumDevices
Miscellaneous RunControlPanel