Add multitouch support - #1510
Open
mlyle wants to merge 4 commits into
Open
Conversation
Collaborator
|
See also #963 for a previous attempt to add this feature. I did not do any comparison. So this is just to make you aware of this earlier PR. |
Move in-flight stroke, interpolation, eraser, and undo state into pointer-specific contexts while keeping pointer zero for existing mouse, tablet, and geometry-tool callers. Protect transient work across concurrent pointers and support canceling an unfinished stroke without an undo entry.
Define default-off board multitouch and gesture tuning settings, expose the feature in Display preferences on Qt 6, and keep the control hidden on older Qt builds.
Intercept Qt 6 touchscreen sequences in the board and desktop annotation view. Route pen, marker, and eraser contacts through independent scene pointers; defer legacy tools through application-generated mouse events; and add sticky two-finger pan and pinch promotion on the board. Finalize touch state across tool, scene, tablet, focus, and window transitions.
Add explicit gesture, drawing, and automatic modes with board-toolbar and preference controls. Keep simultaneous contacts independent, classify pinch gestures conservatively, make native touch own the canvas over compatibility mouse input, and recover cleanly from coalesced or irregular contact state transitions.
Author
|
Rebased and targeted to dev branch. This differs from the previous pull request:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for multitouch
This fixes item #250 and allows multiple people side by side to draw simultaneously. Tested on Windows 10 on an old DTEN touchboard.