touch: detach from pointer input
this detaches touch from pointer input. Touch should not affect where your cursor is, and it doesn't make much sense for it to move when we use touch
This commit is contained in:
parent
9a20206945
commit
1ac1ff457a
4 changed files with 48 additions and 32 deletions
|
|
@ -116,7 +116,7 @@ class CInputManager {
|
|||
bool isLocked();
|
||||
|
||||
Vector2D getMouseCoordsInternal();
|
||||
void refocus();
|
||||
void refocus(std::optional<Vector2D> overridePos = std::nullopt);
|
||||
bool refocusLastWindow(PHLMONITOR pMonitor);
|
||||
void simulateMouseMovement();
|
||||
void sendMotionEventsToFocused();
|
||||
|
|
@ -244,7 +244,7 @@ class CInputManager {
|
|||
|
||||
uint32_t m_capabilities = 0;
|
||||
|
||||
void mouseMoveUnified(uint32_t, bool refocus = false, bool mouse = false);
|
||||
void mouseMoveUnified(uint32_t, bool refocus = false, bool mouse = false, std::optional<Vector2D> overridePos = std::nullopt);
|
||||
void recheckMouseWarpOnMouseInput();
|
||||
|
||||
SP<CTabletTool> ensureTabletToolPresent(SP<Aquamarine::ITabletTool>);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue