Skip to content

Need a way to handle keys pressed at keypad init #9818

@aseanwatson

Description

@aseanwatson

Context from Discord:

Todbot said:

What if keypad generated synthetic press events for any buttons not in the value_when_pressed state on init?

DanH replied:

That is an interesting idea. I was thinking of a __get_item__ or a current_state(i), but generatig some initial events is probably not hard and requires no new API. Also I don't think it would cause issues with any current use cases that I can think of.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions