tablet: added option to hide cursor (#12525)

This commit is contained in:
fuyu147 2025-12-19 11:14:22 -05:00 committed by GitHub
parent 6175ecd4c4
commit 315806f598
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 4 deletions

View file

@ -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() {