help !!! !! touchscreen as keypad for a electronic lock

i wanted to design a 8 digit code lock using my 2.8" touchscreen as keypad

i tried to interface my touchscreen ,divided into 12 positions ,mapped those coordinates for their respective numbering positions

as i am a beginner to programming can anyone help me out in completing this programming part
:fearful:

can anyone help me out in completing this programming part

What have you started?

Unless your library has a "make button" feature, your going to be doing a LOT of work. You need to find the raw data of the touch screen, and map out by hand where you want to make a button.

What I did was make the buttons where I wanted them first, then mapped out the boundaries of where they should be pressed. It took a good while, but I was able to copy some things and adjust the others.