-
Notifications
You must be signed in to change notification settings - Fork 115
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
Triggers getting stuck after releasing them #474
Comments
Please reboot the system, run |
@kakra, here's the output of I included the output as a txt file, so it's easier to read. Lemme know if there's anything else I can provide to help you help me. |
Thanks, I wanted to ensure you're actually running your controller with xpadneo because creating the report descriptor fails - but that may be due to outdated instructions which don't work since firmware switched to BLE. Do you run games through Steam when the problem occurs? Do Lutris games show the same problem if you quit the Steam client? I've seen this behavior only with the XBE2 controller in the very early firmwares back when the Bluetooth connection was still very unstable. It has long been gone and your firmware is updated. So I'm wondering if we see another instance of "double controller instance" while Steam is running, and controller inputs from both instances race with each other. In that case, disabling Xbox controller support within Steam should fix the issue. If this is true, you should not be able to see the issue with |
@kakra I run games through Steam, Lutris and PCSX2. The problem still occurs if I quit the Steam client. The same happens with Steam open or closed. |
Those three are not really instances, they are sub-devices: The Xbox controller supports keyboards on the extension port, the XBE2 controller actually always shows being a keyboard, without connecting a keyboard. I think this is because you can remap buttons through the firmware. xpadneo simply shows all features no matter the model, we will implement emulation of some features later. Your gamepad sub-device is actually on If you run But if releasing the trigger always ends up on a zero value, the problem is somewhere else, maybe in SDL or wine. We can look further from here in that case. You can run |
@kakra I'm sorry for the delayed response. Releasing the trigger always ends up on a zero value, but the game still keeps acting as if i was pressing it |
I've seen previous reports with people using retro game emulators and seeing a similar behavior with the A button registering twice in the game. It may affect other buttons, too, but that's not so easy to discover. So far, my conclusion is that this happens under certain circumstances if you press multiple buttons (or other inputs) at once. There's nothing in the driver code which could affect it. Well, actually, there is a code path which could affect it and has to do with syncing the report frames to the kernel input driver: It can happen if you use the paddle buttons on the back of the controller but yours doesn't have those. The sync issue may also occur with the combined z axis feature, tho I've never seen an issue with it. A fix was introduced with 5ab9bcf and that's probably not backported to the 0.9 branch yet. So I'd like to ask you for two tests:
Please tell me the exact button/axis/trigger combo you're using to show the behavior. I'm somewhat convinced that this issue is not triggered by a bug in xpadneo (except the known sync issue with the paddles) but rather something in the Bluetooth stack. You could try a different Bluetooth dongle. The above commit mentions two other linked issues:
BTW: You wrote you are using v0.9.6 but your dmesg indicates you're using the master branch (v0.10-dev). The above text is based on the assumption you're really using v0.9.6. In latest v0.10, the combined z axis is turned off by default and marked deprecated but maybe you turned it on via a module parameter? ( Whatever version you're using, try both the v0.9 branch and the latest master branch and see if there's a difference. Also, maybe 5ab9bcf introduced a new bug which I wasn't seeing before. After having checked out master, you can try Also, if testing with Try |
@kakra You're right, this isn't a problem within xpadneo. |
Nice, thanks for confirmation. I'll add that to the documentation, please keep opened. |
Version of xpadneo
v0.9.6 FINAL
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
The triggers (RT and LT) get stuck after pressing them randomly. I will press the triggers in a game, let go of the trigger and the game will still show signs of the trigger still being active, until i press it again.
Steps to Reproduce
Press or hold RT or LT
Let go of RT or LT
Expected Behavior
Game to not detect the buttons being active when I'm not pressing them
Screenshots / GIFs / Videos
System Information
Controller and Bluetooth Information
Additional Context
The text was updated successfully, but these errors were encountered: