Skip to content

[Question] button_matrix vs. keyboard_button differences (AEGHB-1068) #506

@EFeru

Description

@EFeru

Hi,
Nice work. I am just a bit puzzled, what is the difference between:
https://github.com/espressif/esp-iot-solution/blob/master/components/button/button_matrix.c
AND
https://github.com/espressif/esp-iot-solution/blob/master/components/keyboard_button/keyboard_button.c

Currently I am using the keyboard_button and it works. However I see the button_matrix has some additional features like double-click, hold, etc

Question: Which one should I use for a normal matrix button? What is the computational efficiency between the two options?

Related: #480

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions