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 - SDL_gamecontrollerdb mapping for PowerA XBox One Controller on Linux
Summary: SDL_gamecontrollerdb mapping for PowerA XBox One Controller on Linux
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.12
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-08 20:10 UTC by me
Modified: 2020-12-08 20:10 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 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