SFML community forums

General => SFML projects => Topic started by: NoobsArePeople2 on September 18, 2013, 05:11:09 am

Title: SFML Gamepad Test Utility Application
Post by: NoobsArePeople2 on September 18, 2013, 05:11:09 am
SFML Gamepad Test, as the name suggests, is a simple SFML app I wrote to test out gamepad functionality in SFML. Recently a question about mapping Xbox 360 gamepad buttons (http://en.sfml-dev.org/forums/index.php?topic=12818.0) was asked in the Window subforum so I thought I'd post my code here so others would have an app for quickly testing out which button was mapped to which index in SFML.

The code is up on Github (https://github.com/NoobsArePeople2/SFMLGamepadTest). I'm using the app with Xcode (clang) on Mac OSX Lion and CodeBlocks (gcc 4.6) on Windows 8. I don't have a ton of C++ experience so your mileage will almost certainly vary if you're using anything else ;)
Title: Re: SFML Gamepad Test Utility Application
Post by: NoobsArePeople2 on September 26, 2013, 05:15:36 am
I've added some buttons mappings to the repo here (https://github.com/NoobsArePeople2/SFMLGamepadTest/tree/master/mappings/windows). Windows only for the moment, but ultimately I'd like to expand the list to include a variety of different gamepads on Windows, Mac and Linux. I only have 360, PS3 and Wii controllers so I'd appreciate any contributions for other controllers.