Skip to content

Button data not sent as param for Click events #16

@emmauss

Description

@emmauss

The button pressed and released events do not send the button id to the eventhandler. Currently is passes a hard-coded 0.
This is the line in question

return EventListener.ButtonPressed(eventArgs, 0);

The actual button value is stored in the button state, which is passed to listener as an eventargs. Why not also pass the value as a parameter?

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