How can I make a touch button for mobile devices?

I couldn’t find any documentation or any guides on making touch buttons for mobile devices other than the touch joystick(Mouse Interface).

So, how do I create a touch button for mobile than will detect mobile key presses?

Hey, this isn’t an actual answer, but maybe this will give you some hints, and when you figure it out, you can post your answer here so that I’ll be able to figure it out too.

I found similar answer here, but it’s still not working for me, so I don’t know if it will work for you:

Additionally, I’ve tried recreating a button in the tappy-chicken example, but it won’t work there either, so I have no idea what to do. Good luck with it, hopefully someone will post an answer, or maybe if we’re lucky, someone will create a video tutorial about how to make even the simplest touch button work…