Skip to content

Touch input contact size #2942

@daxpedda

Description

@daxpedda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C - needs discussionDirection must be ironed outDS - waylandAffects the Wayland backend, or generally free Unix platformsDS - webAffects the Web backend (WebAssembly/WASM)DS - win32Affects the Win32/Windows backendS - apiDesign and usability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions