Gamepad using TTP229 I2c help with programming

first im very thankful from every one who reply and guide me
Code of "sterretje" worked perfectly and im very grateful
i don't know why my Arduino pro micro suddenly stopped working but i will trying to fix it
i don't think problem was from programing because it worked
can some one guess why it failed
thank you