Skip to content

drag plugin touch and pen options  #499

@WillH0lt

Description

@WillH0lt

Dragging works great for touch and pen pointerTypes, but there's no way to disable them and still keep mouse dragging. I'm creating a drawing app and I'm looking for a setting where:

dragging is enabled = right-mouse button and two finger drag
dragging is disabled = touch, pen, and left-mouse button

Currently I'm detecting the input type and disabling the whole drag plugin if I see a pen or touch input. This doesn't work so well when somebody uses multiple pointer types. Is there anything I can do here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions