jpd002 / Play-

Play! - PlayStation2 Emulator
http://purei.org
Other
2.16k stars 263 forks source link

Linux, Controller doesnt detect some inputs and completely puts random inputs in its place. #890

Closed Dragon20C closed 3 years ago

Dragon20C commented 4 years ago

deepin-screen-recorder_Play!-9ac74bc9-x86_64 AppImage_20200429175344

System: Manjaro KDE linux Original xbox one controller

I am sorry for bring this up again but this is a very important issue (previous issue i made : https://github.com/jpd002/Play-/issues/826)

This time I have included a gif of the issue at hand, as you can see when I try to put inputs into the area it just picks a random one, some inputs like the simple select and start button seem to actually detect input but sometimes fails as well, triggers produce nothing no idea why.

Dragon20C commented 4 years ago

I can confirm it also does work fine with other emulators like citra, dolphin and also pcsx2

jpd002 commented 4 years ago

I guess this is related to #928.

Dragon20C commented 4 years ago

@jpd002 unfortunately no this issue still exists, must be a linux specific issue, but its a lot easier to config the controller but some triggers and thumb sticks still register wrong or not at all!

v-fox commented 4 years ago

Can't say if that's related or no but on Linux it's notoriously hard to configure DualShocks 3 and 4 because they don't have hardware deadzones while having extremely precise sticks while evdev has no default software deadzone, obviously. So, even breathing would set them off for emulator then ignore the button that is desired to be registered. Many emulators also register neutral trigger position as pressed. And that's with 100% correct evdev handling. And DS3 has axis and boolean input per each button in addition to being misinterpreted due to 2 aforementioned issues… although, it was gimped by kernel & Sony guys to ignore pressure now.

Same may be applicable to any other gamepad model. Dolphin and RPCS3 have those fancy gamepad configurators not just because they want to be grand and sophisticated but because it's pain in the ass to automate. Even worse on RetroArch, if only not for online binding config database that requires only one gamepad owner to suffer while creating a template config per model.

jpd002 commented 3 years ago

Fixed by 2a64695f6e15cdcf37f31b8960031ed0ffab08c9 and 0b66e54ced1af002298bc17a28aec944bad80b82.