Platform SDK: DirectX

DirectInputDevice

Applications use the methods of the DirectInputDevice class to gain and release access to DirectInput devices, manage device properties and information, set behavior, perform initialization, and invoke a device's property sheet.

The DirectInputDevice object is obtained by using the DirectInput.CreateDevice method.

The methods of the DirectInputDevice class can be organized into the following groups.

Access Acquire
  SetCooperativeLevel
Unacquire
Objects GetDeviceObjectsEnum
  GetObjectInfo
Properties GetCapabilities
  GetDeviceInfo
GetProperty
SetCommonDataFormat
SetDataFormat
SetProperty
Retrieving Data GetDeviceData
  GetDeviceState
GetDeviceStateJoystick
GetDeviceStateJoystick2
GetDeviceStateKeyboard
GetDeviceStateMouse
Poll
SetEventNotification
Force Feedback CreateCustomEffect
  CreateEffect
GetEffectsEnum
GetForceFeedbackState
SendForceFeedbackCommand
Miscellaneous RunControlPanel
  SendDeviceData