espressif / esp-iot-solution

Espressif IoT Library. IoT Device Drivers, Documentations and Solutions.
Apache License 2.0
1.96k stars 778 forks source link

Support of the capacitive touch in iot_button (AEGHB-230) #273

Open espzav opened 1 year ago

espzav commented 1 year ago

Hi, please, do you plan to add support for capacitive touch buttons into the iot_button component? We are using this component in ESP-BSP and we would like to unify code for GPIO/ADC/Touch buttons.

Thank you.

leeebo commented 1 year ago

Hi @espzav yes I think officially support Touch sensor in button compoment can be good, However, compared with GPIO/ADC, Touch sensor is much more complicated. Users must adjust multiple parameters according to their own hardware, which may greatly increase the complexity of iot_button component. We'll think about it, but it might take some time

lijunru-hub commented 4 months ago

If integrating touch buttons temporarily within regular buttons is not feasible, you can use the custom_button type within buttons. Users will handle a series of touch button detections.