XProger / OpenLara

Classic Tomb Raider open-source engine
http://xproger.info/projects/OpenLara/
BSD 2-Clause "Simplified" License
4.63k stars 360 forks source link

analogue gamepad sticks handling broken #462

Open twojstaryzdomu opened 1 year ago

twojstaryzdomu commented 1 year ago

The handling of analogue gamepad sticks appears to be broken. Moving the left stick, normally responsible for movement, causes Lara's moves to get stuck in a clockwise rotation. Moving the right stick locks the view rightwise. The stuck move pattern isn't fixed by going into the menu, which is stuck on permanent rotation. It is possible to play normally with digital controls (gamepad keys) however until the sticks are triggered. The issue has been observed with two PS-style gamepads: '8bitdo Pro 2' & a generic Microntek USB Joystick. The sticks behave without such issues in other SDL2-based games. The sticks have been calibrated properly. jstest is reporting values ranging from 32768 to -32768 for each axis, returning to 0 when not triggered.

twojstaryzdomu commented 1 year ago

I fporgot to mention, the build platform is rpi.