Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML Gamepad Test Utility Application  (Read 3517 times)

0 Members and 1 Guest are viewing this topic.

NoobsArePeople2

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
SFML Gamepad Test Utility Application
« 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 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. 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 ;)

NoobsArePeople2

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: SFML Gamepad Test Utility Application
« Reply #1 on: September 26, 2013, 05:15:36 am »
I've added some buttons mappings to the repo here. 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.