summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorandrewandreii <63286820+andrewandreii@users.noreply.github.com>2025-02-17 04:03:27 +0200
committerGitHub <noreply@github.com>2025-02-17 03:03:27 +0100
commit59c615c321c45302491de3b1c003844c86aefca7 (patch)
treec76dd7cbe2a4dff1e6129117b40caaf12323e83f /src/managers/input/InputManager.hpp
parente2a9271150f9f1a2cba825f6f21bb130effc6b11 (diff)
input: add follow_mouse_threshold (#9392)
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 3afb1b88..7774a6db 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -255,6 +255,7 @@ class CInputManager {
// used for warping back after non-mouse input
Vector2D m_vLastMousePos = {};
+ double m_fMousePosDelta = 0;
bool m_bLastInputMouse = true;
// for holding focus on buttons held