Stopped ship rotation when direction key up
Fixes #2389.
Needs some play testing to compare how it feels when it comes to lag.
I just tested with joystick and I need to fix it to not send a stupid amound ot network data.
First draft for joystick support with deadzone and a extreme value deadzone to clamp the high an low values to -1, 0, 1.
Additionally I added a resolution so users do not spam the server with requests as the user moves the joystick.
This depends on a new PR on serious proton : https://github.com/daid/SeriousProton/pull/259
[EDIT] - Although the seriousproton PR works, my deadzone set in main does not work currently...
Should be good now with a PR in serious proton: https://github.com/daid/SeriousProton/pull/259https://github.com/daid/SeriousProton/pull/259
Default deadzone setting is in main but could move it.
This PR compiles for me without error after a rebase to the current state of master. The CI issues were likely due to this depending on daid/SeriousProton#259 being merged, which it since has.