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 5383

Summary: SDL_gamecontrollerdb mapping for PowerA XBox One Controller on Linux
Product: SDL Reporter: me
Component: joystickAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: me
Version: 2.0.12   
Hardware: x86_64   
OS: Linux   

Description me 2020-12-08 20:10:17 UTC
The PowerA Xbox One Wired controller does not appear to be in the gamecontrollerdb. 

The following is what I used to make it work, setting it in my user's profile:

export SDL_GAMECONTROLLERCONFIG=03000000c62400003a54000001010000,PowerA XBox One Controller SDL2,a:b0,b:b1,x:b2,y:b3,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.7,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,platform:Linux

This came from this ticket: https://github.com/ValveSoftware/steam-for-linux/issues/7200