Skip to content

Differentiate between button pressed and button released in button part #1823

@FWeinb

Description

@FWeinb

I noticed that currently the button part only exposes an event when the button is clicked. I am currently exploring the integration of Lego Powered Up Hubs and would like to build a little remote control inside kano-code. For that to work I would need to distinguish between a button press and a button release.

I could eventually create a PR to add this functionality but would first like to know if you are willing to support 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