We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1783

Summary: Mappings for more controllers.
Product: SDL Reporter: Jari Ronkainen <ronchaine>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: bobsp, gabomdq, philipp.wiesemann
Version: HG 2.0   
Hardware: All   
OS: Linux   
Attachments: Mappings for Saitek Cyborg V.1. Thrustmaster 2-in-1 DT and Twin USB adapter.

Description Jari Ronkainen 2013-04-03 05:09:38 UTC
Added game controller mappings for Saitek Cyborg V.1, Super Dual BOX Twin USB PS2 adapter and Thrustmaster 2-in-1 Dual Trigger gamepads.  Patch attached.
Comment 1 Philipp Wiesemann 2013-04-03 15:50:56 UTC
(In reply to comment #0)
> Added game controller mappings for Saitek Cyborg V.1, Super Dual BOX Twin
> USB PS2 adapter and Thrustmaster 2-in-1 Dual Trigger gamepads.  Patch
> attached.

Patch was not attached.
Comment 2 Jari Ronkainen 2013-04-04 05:16:20 UTC
Created attachment 1098 [details]
Mappings for Saitek Cyborg V.1. Thrustmaster 2-in-1 DT and Twin USB adapter.

Take two, sorry.
Comment 3 devnewton 2013-11-20 09:19:41 UTC
I have a page on my website where people can propose mappings: http://devnewton.bci.im/en/gamepad_db

Here is the current mappings gathered in SDL2 format: http://dl.bci.im/gamepad_db/gamepad_db.sdl
Comment 4 Gabriel Jacobo 2013-12-02 22:41:30 UTC
Thanks for the mappings, I've added them here: https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt

Given Sam's idea is to ship SDL with a set of confirmed mappings, I'm keeping a "non official" (whatever that means) repository of mappings in there. Patches/pull requests welcome!

Also, I've added SDL_GameControllerAddMappingsFromFile to load this database of sorts, and the "controllermap" utility that lets you create them without having to go through Steam.