Skip to content

iot_button_get_long_press_hold_cnt (AEGHB-1154) #548

@franz-ms-muc

Description

@franz-ms-muc

Hi,

iot_button_get_long_press_hold_cnt

there is no Sample, in which Event cases it is possible.

for the other 2 Cases we have:

    if (BUTTON_PRESS_REPEAT == event || BUTTON_PRESS_REPEAT_DONE == event) {
        ESP_LOGI(TAG, "\tREPEAT[%d]", iot_button_get_repeat(arg));
    }

    if (BUTTON_PRESS_UP == event || BUTTON_LONG_PRESS_HOLD == event || BUTTON_LONG_PRESS_UP == event) {
        ESP_LOGI(TAG, "\tTICKS[%"PRIu32"]", iot_button_get_ticks_time(arg));
    }

so it is quite clear which Events apply.

pls give same for iot_button_get_long_press_hold_cnt

Thanks !

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