Skip to content

State of multitouch on the web with trackpads? #31

@unphased

Description

@unphased

I am thinking about the best way to implement two-finger-scroll on a trackpad to freely move around in x and y within a scene in a canvas.

It seems that the only natural way to do this still is to make some kind of fake larger scrolling area within which to scroll like this, and then read out the scrolloffsets to apply to the actual real thing that we're scrolling.

This is obviously problematic in many ways, because the scrollbars aren't going to be showing anything sensible, and also this still doesn't address the default scroll-left-to-go-back gestures present in safari and chrome on macOS for example.

For a tablet the touch events APIs are available so this can be readily implemented for that.

Is this likely to change? With all of your expertise on touch events and browser events in general, do you know if something like opening up the touch events API (or something like it) to raw trackpad events is something on the web standards roadmap?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions