Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Enable pen/stylus erasing events #7

@mccoykillian

Description

@mccoykillian

Currently pointer-tracker only accepts basic contact events for mouse, touch, and pen (button state 0:
image
(from https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events)

The button and buttons state needed to detect pen erasing is 5 and 32 respectively, but pointers with these states are blocked in the _pointerStart function:
image

Could this function be updated to support other button states or at least the pen erasing combo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions