Attached is a port sdl-jstest. sdl-jstest is a simple program to find out how many joysticks are detected by SDL and SDL2. It can list devices detected by SDL1/SDL2 joystick or gamecontroller API. It also has a flag to display events sent by the buttons and axes.
The primary purpose is for testing and troubleshooting joystick/gamecontroller devices. Helpful in working on SDL2's gamecontroller API.
sdl-jstest.tgz
Description: Binary data