You can buy small modules with capacitive touch detection ICs — most often it’s the TTP223, a single-button capacitive model with configurable output modes. These are designed to pair with a ...