Requires tcMenu V2.0 or greater.
Current support:
Touch-pad sensors check for button presses without an actual switch, instead the rely on a change in capacitance when the user touches an area (usually a small metal plate around the size of a finger. Given that this procedure is quite complex, it usually requires hardware support for such inputs, so it can only ever be supported when hardware allows. At the moment we only support this for ESP32.
This plugin basically allows the ESP32 touch sensors to be used with switches library as if they were normal buttons. It is done by directly integrating with the IDF touch sensor code.
First, ensure your menu structure is saved and then choose Code -> Generate Code from the menu. Once the code generation dialog appears, you can click on the image below the input plugin selection, and you’ll see the following option, select it:
Once you’ve chosen the touch-pad sensor plugin, you’ll need to configure the plugin for use, further, you need to determine the threshold value, below which you can be certain there has been a touch event.