Skip to content

Knowledgebase Programming: DirectX and DirectInput

Lars Toenning edited this page Oct 9, 2023 · 1 revision

Good joystick capturing article: https://bell0bytes.eu/directinput/

  • DIDFT_PSHBUTTON: A push button. A push button is reported as down when the user presses it, and as up when the user releases it.
  • DIDFT_TGLBUTTON: A toggle button. A toggle button is reported as down when the user presses it and remains so until the user presses the button a second time.
Clone this wiki locally