-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xbox Wireless Controller is seen as Xbox 360 controller and cannot use share button #423
Comments
Current xpadneo is not compatible with Steam Input, you should disable Xbox controller support in Steam. That being said, the documentation is wrong about this, I forgot to change it: It currently maps to a Steam Input doesn't expect to see more than 10 buttons (or 11 buttons if you count the Guide button) from an Xbox controller, thus it won't see the button. Thanks for pointing it out, I'll update the documentation. Future version will be made compatible with Steam Input but I'm not sure if it lands in v0.10 or v0.11. If you play Steam games exclusively, you might want to use |
Link: atar-axis#423 Fixes: commit fe4c156 ("xpadneo v0.9, hid: Fix event ids to not fall into the keyboard range") Signed-off-by: Kai Krakow <kai@kaishome.de>
Thank you very much for your answer ! Changing the binding to Moreover, would there be any chance to be able to customize what the share key binds to in the future, in a configuration file for instance ? Does it have to be hardcoded ? Or is it just not your priority / goal ? |
Yes, that was the idea behind that change for upcoming v0.10.
User-space has matured enough compared to when the "modern" Bluetooth controllers came out that xpadneo should stop doing tricks to bypass SDL while making jsdev happy at the same time. SDL completely detects all models now and supports runtime loading of newer versions into old binary-only software, Proton has gained full support, wine has learned to handle the device, most user-space ships with fixes to work around rumble-introduced firmware crashes... Yes, I think it's time.
This actually was the idea behind using
It will be configurable, probably coming with a sysfs interface and a small rust-based tool to remember your controller mappings and load them back when the controller is re-connected, and maybe some GUI to do that stuff and switch presets. But most of this will be handled after v0.10 which is supposed to lay the ground-work for customizations. At that point, xpadneo will probably move over to a completely new project incorporating multiple tools as sub-projects, leaving the atar-axis repository as an archive. As the maintainer of this project (but not owner) I do not have full control over the repository which complicates some things like using CI pipelines, atar-axis stopped developing xpadneo some years ago and handed it over to me. |
Thank you very much for your work and for your insight ! It is very instructive. It's been ages since I developed in C++ / low-level programming, as I'm more in web nowadays, but maybe I could help in the near future. For now, I will stick with this repo version and the F12_KEY, as it already suits my needs. Thanks again ! |
Version of xpadneo
0.9.5
Controller Model
Connection mode
Installed Software
Protocol Information
Please help us identify at which layer the problem can be found if you want
to report mapping errors or if the controller fails to be detected:
evtest
is showing issues (describe the issues below)BTN_NORTH
andBTN_WEST
are intentionally swappedjstest
is showing issues (describe the issues below)gamepad-tool
is showing issues (post console output below)Please describe how it is failing below in the next sections.
Severity / Impact
Describe the Bug
My Xbox Series X|S, connected to my computer with a Bluetooth dongle, works perfectly. With your module, I was even able to get back the rumble feature I lost by switching to Linux. However, I still have two problems which I think are linked:
xboxdrv
, Steam and in the lastdmesg
line as an Xbox 360 controller ; thus cannot bind a manual input to the Share buttonshowkey
utility does not receive any signal from the Share button (but does for all other non-directional buttons)Steps to Reproduce
Connect the controller, go in
xboxdrv
or Steam controller settings.Exit, try to use the Share button in
showkey
.Expected Behavior
The module should expose the controller as a Xbox X|S controller.
Screenshots / GIFs / Videos
System Information
Controller and Bluetooth Information
xpadneo-btmon.txt
xpadneo-dmesg.txt
xpadneo-lsusb.txt
Additional Context
Thank you for your awesome work ! I did not try to listen to the Share button input manually via some C++ code but I think there should be an easier way. I saw in the doc this specific button was bound to the KEY_RECORD keyboard input, but cannot find a way to get to it.
The text was updated successfully, but these errors were encountered: