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

Summary: OUYA Controller mapping
Product: SDL Reporter: Carlo Cabanilla <carlo.cabanilla>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: gabomdq
Version: HG 2.1   
Hardware: All   
OS: Windows 7   

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!