Browse Source

[sdl]Mouse Panning Regression Fix (#3181)

Fix the mouse panning issues

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3181
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Co-authored-by: John <john@eden-emu.dev>
Co-committed-by: John <john@eden-emu.dev>
pull/3180/head
John 3 days ago
committed by crueter
parent
commit
c5bd7dc047
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/input_common/drivers/mouse.cpp

2
src/input_common/drivers/mouse.cpp

@ -14,7 +14,7 @@
#include "input_common/drivers/mouse.h" #include "input_common/drivers/mouse.h"
namespace InputCommon { namespace InputCommon {
constexpr int update_time = 25; // 40 TPS
constexpr int update_time = 10;
constexpr float default_panning_sensitivity = 0.0010f; constexpr float default_panning_sensitivity = 0.0010f;
constexpr float default_stick_sensitivity = 0.0006f; constexpr float default_stick_sensitivity = 0.0006f;
constexpr float default_deadzone_counterweight = 0.01f; constexpr float default_deadzone_counterweight = 0.01f;

Loading…
Cancel
Save