Closed chegewara closed 2 years ago
Since i am reporting issue, is it possible to add function to set long press threshold from app level, not only with menuconfig?
3) button hold event is called 2 times every time:
I (4701) TAG: BUTTON_LONG_PRESS_HOLD
I (4701) TAG: BUTTON_LONG_PRESS_HOLD
I (4711) TAG: BUTTON_LONG_PRESS_HOLD
I (4711) TAG: BUTTON_LONG_PRESS_HOLD
I (4721) TAG: BUTTON_LONG_PRESS_HOLD
I (4721) TAG: BUTTON_LONG_PRESS_HOLD
I (4731) TAG: BUTTON_LONG_PRESS_HOLD
I (4731) TAG: BUTTON_LONG_PRESS_HOLD
I (4741) TAG: BUTTON_LONG_PRESS_HOLD
I (4741) TAG: BUTTON_LONG_PRESS_HOLD
BUTTON DEBOUNCE TICKS = 8
code no longer works, no events triggered and whith long press it is causing monitor to stuck(cursor stop blinking)Hi, @chegewara
thank you for the issue, while it's not directly related to the IDF component manager itself, we will forward it to the maintainer.
Its first place i have in mind about posting issues related to components from component manager, even if component itself is from iot repository.
Hello @chegewara , I uploaded version 2.0.0 of button component from esp-iot-solution master branch: https://components.espressif.com/component/espressif/button
The bugs you mentioned should be fixed there.
We are working on a more transparent connection between our component registry and source code (typically on Github).
You should be able to see homepage
link in https://components.espressif.com/component/espressif/button now!
Great, thanks.
homepage is working there and i will test component and report.
Seems to be ok now.
component version: 1.0.0 board: esp32 S3 rev 0
2 issues: 1) component suppose to be for all chip models, but it is missing declaration for C3 and S3:
and error:
2) please update documentation,
iot_button_create
andiot_button_register_cb
, the names has been changed (maybe even more functions) https://docs.espressif.com/projects/espressif-esp-iot-solution/en/latest/input_device/button.html