-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Touch input contact size #2942
Copy link
Copy link
Open
Labels
C - needs discussionDirection must be ironed outDirection must be ironed outDS - waylandAffects the Wayland backend, or generally free Unix platformsAffects the Wayland backend, or generally free Unix platformsDS - webAffects the Web backend (WebAssembly/WASM)Affects the Web backend (WebAssembly/WASM)DS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendS - apiDesign and usabilityDesign and usability
Description
I noticed that it has been really helpful to determine the contact size of a touch input by using PointerEvent.width/height to improve accuracy.
I'm not sure about other platforms, but a quick look at the Windows API revealed POINTER_TOUCH_INFO.rcContact.
In any case, like force, this could be wrapped in an Option.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C - needs discussionDirection must be ironed outDirection must be ironed outDS - waylandAffects the Wayland backend, or generally free Unix platformsAffects the Wayland backend, or generally free Unix platformsDS - webAffects the Web backend (WebAssembly/WASM)Affects the Web backend (WebAssembly/WASM)DS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendS - apiDesign and usabilityDesign and usability