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 2377 - OUYA Controller mapping
Summary: OUYA Controller mapping
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.1
Hardware: All Windows 7
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 01:28 UTC by Carlo Cabanilla
Modified: 2014-02-03 12:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo Cabanilla 2014-02-02 01:28:24 UTC
Hello,

I'd like to add the OUYA controller to the game controller db:

"36280100000000000000504944564944,OUYA Controller,a:b0,b:b3,y:b2,x:b1,start:b14,guide:b15,leftstick:b6,rightstick:b7,leftshoulder:b4,rightshoulder:b5,dpup:b8,dpleft:b10,dpdown:b9,dpright:b11,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b12,righttrigger:b13,"

Generated from Steam Big Picture and pulled from config.vdf.

I don't know how to test it though, and I'm not sure if it's specific to Windows or would work on other OS's.
Comment 1 Gabriel Jacobo 2014-02-03 12:55:16 UTC
Added here: https://github.com/gabomdq/SDL_GameControllerDB/commit/c4b34d8476bdba913fd9d34b0ae0de949de44001

BTW, mappings are platform specific.

Thanks!