Ttp229 Capacitive Touch Sensor issues

Could someone help me to get the ttp229 keypad to work? I want to use it for a DIY alarm pad.

I asked for help on Reddit one week ago, and got some great help, debugging the sensor.

I came to the conclusion that the problem lies in the Ttp229 sensor component in esphome, because I tested my board with this Arduino code and it worked, I also found a person on discord who had described the same problems I have (I asked him for help one week ago, but he didn’t respond, until now).

I think the problem with the Ttp229 sensor in esphome is that there are two versions of this board (one with i2c and one without i2c) with very confusing and contradictory documentation.

The author of the code probably only tested the i2c Version, because the version without i2c (which i have) creates an error if you don’t configure the i2c component.

Here is the code and my wiring.

Maybe someone can help me to further debug my issue with the sensor or help me to write a custom component with the help of this working code.

Ps: this is my first post on this site, sorry if this post doesn’t belong here.

My friend just have the same problem.
I have added the jumper wire as shown in the picture to enable 16-key mode.

It’s work for me.