jon parise // monday, january 22, 2018

DirectInput Joystick Wrapper

Microsoft's DirectInput component is a really handy way to manage input from a variery of devices. In my case, I needed a convenient way to read input from multiple joysticks. The DirectInput system itself is fairly clean, but I didn't want to deal with the details of creating DirectInput objects on a regular basis, so I wrote this simple wrapper to hide a lot of that code from regular use.

The complete source code and Visual C++ 6.0 project are included.

A simple test application is included to demonstrate the library's functionality.

The DirectInput joystick wrapper is released under a modified BSD License.

Current Release: