Skip to content

onRelease listener? #1

@koopa00

Description

@koopa00

Hi, great work, this widget is really easy to implement and fun to use.

I am looking for a way to trigger an event upon release of the joystick (to make sure to send a final 0 strength value to overwrite any previous data). I have tried an onTouch listener with a condition on the motionEvent to be MotionEvent.ACTION_BUTTON_RELEASE, but it does not trigger.

Do you have any suggestion on how I may accomplish this?

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