Capacitive Touch provides you with 7 additional switch inputs that you may have not known are available.
How do they work? The microcontroller has built-in circuitry to measure the capacitance of each of the pads A1 to A7. They are calibrated when the microcontroller is reset. Any change in capacitance is measured and we can read the output to decide if one of the pads is being touched (which changes the capacitance).
Both Microsoft MakeCode and CircuitPython have built-in support for capacitive touch. See the following pages for examples.