Closed mende1 closed 3 years ago
The Share button has no Linux equivalent for a gaming input button: We cannot send it to the joystick device except by faking it for a different one - which might have consequences in the future as it might conflict with other buttons added to the mapping.
The Xbox button could be sent but this confuses some games because the gamepad would have more than 10 gaming input buttons then, even MS doesn't put it into their API. Instead, it is sent as a separate device event.
xpadneo does the same: Both buttons are moved to a secondary device. There are no immediate plans on fixing this but in the future you may be able to use the yet to be implemented feature for mapping profiles to map the button to the gamepad device.
@kakra, so, it's ok only appear 10 button on my controller? It suppose to be that... It's ok, I understand your point. But you know some way to map the Xbox button event to I use on RetroArch or even Steam? Maybe use a different drive than udev, or some configuration, anything?
@mende1 Yes, there is this branch currently: https://github.com/atar-axis/xpadneo/pull/283
But I didn't merge it yet because the solution seems not quite right but I'm working on it. You can use that branch for RetroArch, it may act funky with Steam.
I would like to have the xbox button (home button) to behave like a regular button, because I use an Xbox controller for Xbox cloud gaming and would need the button to exit a game. jstest already shows 11 buttons and button 8 which would be the xbox button is not used or at least never gets pressed when I try all buttons. So would it be possible to have the xbox button as button 8?
@pascal260303 Use the in-kernel driver instead then. xpadneo doesn't support the funky ways of browsers implementing input support. They are manually re-doing the mapping fixups we already do in the driver. Since this is mostly the only thing we are doing, removing that would make xpadneo essentially the in-kernel driver.
Version of xpadneo
Controller Model
[ ] Xbox One S controller
[ ] Xbox Elite 2 controller
[x] Xbox Series X|S controller
[ ] Other:
[X] Bluetooth connection
[ ] Xbox Dongle connection (not yet supported)
[ ] USB cable (not yet supported)
Installed Software
Severity / Impact
Describe the Bug
The Middle Button of Controller (The button to turn on) (the home button by some people) doesn't work, neither Share Button.
I use arch, btw, and KDE interface, when I finished my setup I connected my controller via Bluetooth, and by some way it works, including home button. But without some controller features that xpadneo can give me. So I installed xpadneo, and the Home Button stop working. If I go to jstest-gtk or even systemsetting joystick from KDE and test my controller, it gives me that my controller only have 10 buttons, all these except home button.
Note that I've installed Steam and RetroArch before install xpadneo, and also xboxdrv package (Later uninstalled, but still doesn't working).
Steps to Reproduce
Install xpadneo by Github version, following every step described on instructions. Reboot my machine. Connected my Xbox Series X|S Controller via Bluetooth, and bug appeared. Home Button stop working. Share button also, but it already doesn't working before install xpadneo.
Expected Behavior
Home and Share Button working.
Screenshots / GIFs / Videos
System Information
Controller and Bluetooth Information
Run
dmesg | egrep -i 'hid|input|xpadneo' | tee xpadneo-dmesg.txt
. OutputRun
lsusb
and pick the device number of your dongle. Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bluetooth wireless interfacexpadneo-lsusb.txt xpadneo-dmesg.txt xpadneo-btmon.txt log.txt
Additional Context