Closed RolledR closed 3 years ago
I've just launched antimicro to check it out: It seems the software is expecting a specific layout of the button map hard-coded into the source code instead of using what evdev provides as information. It also completely ignores the additional sub-devices of the controller. I can understand why it ignores keyboards and mouse (after all it wants to remap from controller to keyboard/mouse, not remap keyboards or mice on their own) but maybe it should not ignore consumer control devices which is the type of sub-device which has the share and guide button.
But yes, it's currently by design that the guide and share button are not part of the gamepad sub-device: That is supposed to have exactly only 10 buttons.
But this feature will go under revision when we add or prepare support for Elite 2 profiles in one of the next release cycles. To make this change compatible with previous driver versions, some internals need to be changed which will also avoid some quirks with SDL2 (as integrated in Proton). Hopefully, it may fix antimicro, too. I'll put it on my agenda to test.
The USB-mode works with a completely different driver, it's not using xpadneo then.
Ok, that makes sense. I'll close it, and just live without the guide button for the time being. Thanks for the help!
Version of xpadneo
v0.9-83-g45fef91
Controller Model
Connection mode
Installed Software
Severity / Impact
Describe the Bug
Antimicrox has the wrong number of buttons + the guide button isn't working. I had it working a month ago in Manjaro, then I switched to Arch.
Steps to Reproduce
Install this as per instructions Build + install antimicrox. Connect the controller. Open antimicrox, see 21 buttons & the guide button doesn't work.
Expected Behavior
Antimicrox has 11 buttons total, including the guide button and excluding the share button, as it did before I switched to Arch a few weeks ago.
Screenshots / GIFs / Videos
Wireless:
Wired looks the same except it says "XInput Controller" Instead of "Xbox One Wireless Controller".
System Information
Controller and Bluetooth Information
xpadneo-btmon.txt
xpadneo-dmesg.txt
xpadneo-lsusb.txt
Additional Context
I was using Manjaro, and had xpadneo + antimicrox installed. Everything worked except the share button (including guide). I switched to Arch, and now I cannot make it work for the life of me. I've looked at other issues, and I can see that share + guide being on a separate device is expected behavior. I remember distinctly that, when I had it working, antimicrox said "Xbox One Wireless Controller" or something to that effect, not XInput Controller. The controller / antimicrox behavior was also consistent both wired and wireless.
Honestly not sure why it worked before, since as far as I can tell now, it shouldn't due to the whole separate devices thing. I also ran into this problem before, when I set it up on Manjaro, but like an idiot, I didn't write down how to fix it.
Antimicrox seems to use the Generic X-Box pad buttons, since it has the same 21 button bindings regardless of whether it's connected by USB-C or Bluetooth. The only difference is that the guide button only works via USB-C.
I still have all the files from my Manjaro install if anything from there is needed. I've tried imitating my old setup exactly to no avail.
Thanks.