diff options
| author | fuyu147 <fuyu.147@hotmail.com> | 2025-12-19 11:14:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-19 16:14:22 +0000 |
| commit | 315806f59816aacdbf7c66aaeaa0e49d3a33a66d (patch) | |
| tree | 3969eaf1ac96bd2cd3948065f470c19f8cceacb5 /src/managers/input/InputManager.cpp | |
| parent | 6175ecd4c4ba817c4620f66a75e1e11da7c7a8ca (diff) | |
tablet: added option to hide cursor (#12525)
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 764c394e..746b6acf 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -146,7 +146,8 @@ void CInputManager::onMouseMoved(IPointer::SMotionEvent e) { m_lastCursorMovement.reset(); - m_lastInputTouch = false; + m_lastInputTouch = false; + m_lastInputTablet = false; if (e.mouse) m_lastMousePos = getMouseCoordsInternal(); @@ -159,7 +160,8 @@ void CInputManager::onMouseWarp(IPointer::SMotionAbsoluteEvent e) { m_lastCursorMovement.reset(); - m_lastInputTouch = false; + m_lastInputTouch = false; + m_lastInputTablet = false; } void CInputManager::simulateMouseMovement() { |
