SDL: [BUG] XBox One Series X controller, the "Share" button doesn't works, Linux Mint
Hello! I do have the recently bought gamepad of Xbox One Series X model 1914. I run it via USB (USB Type-C <-> PC). The device itself is wireless mainly, but it can be used via USB cable too.
Here are the next specs I got when I run the unit test:
INFO: Joystick device 0 added.
INFO: Joystick
INFO: name: Xbox One Series X Controller
INFO: type: Game Controller
INFO: axes: 6
INFO: balls: 0
INFO: hats: 1
INFO: buttons: 11
INFO: instance id: 0
INFO: guid: 030000005e040000120b000001050000
INFO: VID/PID: 0x045e/0x0b12
I had to use SDL 2.0.14, however, I found this commit: https://github.com/libsdl-org/SDL/commit/a5dba7d3ab2bcdefb2dc9e590767bf345a81dfa5
Then, I tried to build the top main state (c12f46b100d22a0e06a64c5b6d1baa3f446d34e6), however, the button is still won’t work.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (9 by maintainers)
I updated the stuff a while ago and it works now. I forgot to reply here.
Yes please. X11 interpreting the share button as a record key is a different issue from the original one where the HIDAPI driver wasn’t being used.
Hi, it seems like this did not get resolved yet? This seems like a relevant issue, so I’m posting here rather than creating a new one.
I am also having trouble with the share button of this controller via another program, which is using SDL.
I ran the
testgamepadcommand that is provided with the SDL source code. Pressing the share button on the controller gives the following output:I also ran the
controllermapcommand, this is the mapping I ended up with:The same error message as above was printed when I pressed the share button while the button was highlighted in the shown layout.
My system information:
Please tell me if I can provide any more useful information for solving this.