Skip to content

Touchpad drag function #27

@NMartin354

Description

@NMartin354

Is there any support for relative controls? Like take the value of trackpadGetLastXY() on first touch = trackpadFirstXY, then replace the output to the result of percentage of [Square Root of {trackpadFirstXY - trackpadGetLastXY() } ]until the finger is released?
So that the output = the distance dragged.

If this isn't in the code already, what current fields output the XY coordinates? Can I make them a function like the one I referenced?

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