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 - Mappings for more controllers.
Summary: Mappings for more controllers.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 05:09 UTC by Jari Ronkainen
Modified: 2013-12-02 22:41 UTC (History)
3 users (show)

See Also:


Attachments
Mappings for Saitek Cyborg V.1. Thrustmaster 2-in-1 DT and Twin USB adapter. (1.93 KB, patch)
2013-04-04 05:16 UTC, Jari Ronkainen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.