Button permanently pressed during game
-
Hi,
after playing for a longer while, the left button of the gamepad starts to be permanently pressed.
I checkedjstest /dev/input/js0
and it shows that no button is actually pressed.Driver version is 2.1.0. Joystick (RetroStone2 Controle) has 2 axes (X, Y) and 14 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, (null), (null), (null), (null)). Testing ... (interrupt to exit) Axes: 0:-32767 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off ^
The only way to reset it so far was rebooting the entire system. Restarting the game, RetroArch or EmulationStation did not help.
The error persists over all emulators - when it starts to happen in a SNES game and I switch to GB, "Mario" is still running to the left.
Interestingly, everything works fine in the EmulationStation and RetroArch menus - only events of actually pressed buttons will be executed.Has anyone experienced something similar and/or might know a workaround?
Thanks a lot,
Max -
@maximilianvoss said in Button permanently pressed during game:
Axes: 0:-32767 1: 0
So I think the 'Left' button you are referring to is being detected as an analog axis. It says Axis 0 is at a value of -32767. The output makes it seem like it is detecting a stuck Left direction on the pad/analog stick.
As for the reason it doesn't seem to affect ES or RetroArch menus, it could be those will not continue to move left in the case of continual presses. (Guessing)
You may want to fill in some information from the template to get further help also. https://retropie.org.uk/forum/topic/3/read-this-first
EDIT: And now that I re-read it, the code you pasted is telling you what the 'buttons' are that jstest is displaying. A,B,X,Y, etc. The output is detecting the stuck left direction and it won't show as a button because Left/Right is always an axis as well as Up/Down. Hence the two axes mentioned (X, Y). Much like math classes, X is usually horizontal, while Y is vertical.
-
Hi @YFZdude ,
thanks for pointing this out. It seems to be a static charge on my game controller.
It actually does not have a joystick mounted but has solder points for it.
Removing the joystick code from the driver did the trick for me.Thanks,
Max
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.