I wrote macro to draw pad for electrostatic capacitive keyboard on KiCAD. If you draw pad with complex shape converted from bitmap, you would have problems with the DRC function. The macro I wrote draws pads with polygon area which can be filled. It works well with the DRC of KiCAD.
This macro provides only pad drawing function. No hardware design to read pad state is provided, it should be next step.
Please see README.md file for detailed description about the macro.
Source:
https://github.com/hanya/ESCPT