The joystick card I am using for my flight simulator has a lot of buttons (112). By default the Windows control panel for game controllers only displays the status of 32 buttons. I wanted a way to see the status of all the buttons so I wrote this little utility called JoystickButtonTest. What an original name!
A zip file with the executable and dll as well as links to the source code are below. This is released as open source with no guarantees it will work on your computer. It does require the .Net version 3.5 libraries and a recent version of DirectX.
Program:
JoystickButtonTest.zip
The JoystickInterface.dll is based on code by M Harris found here: http://www.codeproject.com/KB/directx/joystick.aspx