Page 1 of 1

Gamepad driver and button names needed

PostPosted: 06 Nov 2014, 05:30
by hiker
Hi,

we have recently improved the detection of gamepad on windows, and also started to use proper names for buttons etc. Atm we have xbox 360 and classic xbox controller done, but are looking forward to add more controller support. So anyone with a gamepad, who compiles stk from our git repo: could you report here your OS, the driver name (from the STK settings), and the proper names for the buttons, e.g.: button 0 = A, Axis 2+ = left thumb stick, .... Please use the 'proper' names for the buttons (e.g. I had no idea that a classic xbox controller had buttons 'black' and 'white'). We are aware of some gamepad data bases (e.g. http://dl.bci.im/gamepad_db/gamepad_db.json , https://github.com/mupen64plus/mupen64p ... utoCfg.ini), I am not sure if the names for the drivers we get is the same (e.g. programs using direct input/direct x might get different driver names??) . But if you find your controller somewhere online, just post the name of your driver and point us to the web page.n We'll try to add them then.

Ideally (pretty please :cool: ) you would submit a pull request or send us a patch, that would save us a lot of time, and the gamepad_config code is (imho) quite easy to understand: see input/gamepad_config.cpp (and hpp), and search for GamepadConfig::detectType() and GamepadConfig::getBindingAsString().

If you don't compile yourself (why not? It's not that hard ;) ), please update this thread after our beta (sorry, can't give you an expected time atm, we are still fixing bugs, and more importantly converting tracks).

Thanks!
Joerg