These sources demonstrate the usage of joysticks under Windows with the library SlimDX

Written under Visual Studio + C#

  • Version 1: Open the first encountered joystick
  • Version 2: Display all the available joysticks, then open the joystick selected by the user

Version 1: Open the first encountered joystick

 Joystick Slimdx screenshoot v1


Version 2: Display all the available joysticks, then open the joystick selected by the user

A combobox displays all the available joysticks.
Here is the numeric screenshoot:

Joystick Slimdx screenshoot v2 numeric

And below, the visual screenshoot

Joystick Slimdx screenshoot v2 visual