Platform SDK: DirectX

DirectInputDevice

アプリケーションは、DirectInputDevice クラスのメソッドを使用して、DirectInput デバイスのアクセス権の取得と解放、デバイス プロパティと情報の管理、動作の設定、初期化の実行、およびデバイスのプロパティ シートの起動を行う。

DirectInputDevice オブジェクトを取得するには、DirectInput.CreateDevice メソッドを使用する。

DirectInputDevice クラスのメソッドは、以下のグループにまとめることができる。

アクセス Acquire
  SetCooperativeLevel
Unacquire
オブジェクト GetDeviceObjectsEnum
  GetObjectInfo
プロパティ GetCapabilities
  GetDeviceInfo
GetProperty
SetCommonDataFormat
SetDataFormat
SetProperty
データの取得 GetDeviceData
  GetDeviceState
GetDeviceStateJoystick
GetDeviceStateJoystick2
GetDeviceStateKeyboard
GetDeviceStateMouse
Poll
SetEventNotification
フォース フィードバック CreateCustomEffect
  CreateEffect
GetEffectsEnum
GetForceFeedbackState
SendForceFeedbackCommand
その他 RunControlPanel
  SendDeviceData