Skip to content

Pressed state is never handled #21

@martinmarcos

Description

@martinmarcos

Button states "Pressed" and "Close" are never used or handled. I interested in being able to detect when the button has been pressed and this state is never assigned. The reason I want to detect if the button has been pressed is to start ignoring knob movements. Now it happens that if you accidentally move the knob while pressing, when you release it you end up clicking on something unintended. It could be an optional new feature: click protection. Of course it wouldn't protect against knob movements before the button is pressed.

I tried to modify the code myself but I don't fully understand the state machine logic implemented. By the way, what would be the use of the "Close" state?

Regards.

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