ddnet/src
Robert Müller 25216bfddb Increase relative joystick movement based on input update time
For relative mouse movement in SDL, the `SDL_GetRelativeMouseState` function always returns distance that the mouse moved since the last call of this function.

For joysticks, we only have access to the current axis values and no accumulated values.
This made the relative joystick movement speed decrease a lot when the client's refresh rate is low.
This is now counteracted by measuring the average time between calls of `IInput::Update` and multiplying the joystick movement by this number.

Closes #6296.
2023-01-26 23:37:52 +01:00
..
android Add tests for overloaded hash operators, use operator instead 2022-11-12 20:36:38 +01:00
antibot Hand the client IP addresses to the antibot module 2023-01-11 01:35:50 +01:00
base Merge #6299 2023-01-23 11:41:51 +00:00
engine Increase relative joystick movement based on input update time 2023-01-26 23:37:52 +01:00
game Add buttons to move envelopes left and right, use unicode icons 2023-01-25 20:05:06 +01:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
masterping Add tool to manually ping the mastersrv 2022-12-29 12:50:24 +01:00
mastersrv Add README.md for the mastersrv, briefly explaining the setup 2022-12-21 13:11:57 +01:00
rust-bridge Fix being run from rust-analyzer with a clean environment 2022-11-09 15:09:42 +01:00
steam Huge variable naming format 2022-07-08 18:01:29 +02:00
test Add str_hex_cstyle to print bytes as a C style array 2023-01-18 17:29:23 +01:00
tools Fix sv_vanilla_antispoof for vanilla 0.6.5 clients 2023-01-18 20:21:12 +01:00