Desktop: Support input from drawing tablets - #4354
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 40 files
Confidence score: 5/5
- Safe to merge after the addressed issues were fixed.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
!build desktop (Run ID 29704545193) |
|
|
|
|
PoC with future PRs using the input attributes that are passed through. 2026-07-19.23-46-46.mp4 |
0HyperCube
left a comment
There was a problem hiding this comment.
Looks good; mostly just renaming some things.
| window_fullscreen: bool, | ||
| window_pending_drag: bool, | ||
| pointer_position: PhysicalPosition<f64>, | ||
| pointer_lock_position: Option<PhysicalPosition<f64>>, |
There was a problem hiding this comment.
Should the pointer_lock_position not also be part of InputState?
| } | ||
|
|
||
| // TODO: Document the difference between this and EditorMouseState | ||
| // TODO: Document the difference between this and EditorPointerState |
There was a problem hiding this comment.
Perhaps this todo comment could be addressed instead of just updated? It seems like the only difference is one has ViewportPosition and one has EditorPosition.
I think that it should be reasonably easy to remove the PointerState entirely and just use the EditorPointerState (computing the other position using the viewport data which is usually available). Thoughts?
There was a problem hiding this comment.
I would prefer to do that in a followup but yes we should do that
e5bbb02 to
cd38301
Compare
cd38301 to
95c5c7c
Compare
|
!build desktop (Run ID 31918893822) |
95c5c7c to
c26c90f
Compare
|
|
|
c26c90f to
e8a0aac
Compare
e8a0aac to
6ed84ba
Compare
6ed84ba to
e510d02
Compare
e510d02 to
294c9f6
Compare
294c9f6 to
2e5a7ea
Compare
winit bump not 100% necessary. Some more drawing tablet edge cases have been addressed that I never saw. But might as well do the update now that i touch that code anyway. Could be separated out if that is wanted.
Everything else is pretty well described with the commit messages.