input: add follow_mouse_threshold (#9392)

This commit is contained in:
andrewandreii
2025-02-17 04:03:27 +02:00
committed by GitHub
parent e2a9271150
commit 59c615c321
4 changed files with 26 additions and 11 deletions

View File

@@ -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