The trackpad is one of my favorite recent Blocks. It's a great instance of circuit scalability. I use standard projected-capacitive-touch with a sensing IC that reads a rectangular grid of electrodes -- but they are all printed on the PCB, thus adding no significant cost whether small or big, sparse or dense.
The difficult part was two things:
- optimizing SNR (signal-to-noise ratio) at the sensing stage of the code
- and converting the input data to actual action-coordinates (relative) that are submitted as emulated-input to the OS.
Software filtering helped with the former. For the latter, I started with and customized an algorithm documented in an a manufacturer's application-note document (I think it was Microchip or Azoteq).