First of all, any inputs from @martin or anyone else to clean up weirdness, x,y values, min/max, etc in here would be appreciated.
I’m using some (probably not 100% correct) math to figure out which control is being touched.
But - the idea is to map touches to controls. Also - pot touches are ignored for this test.
The character naming at the bottom shows that if you touch the “Char” control, it cycles through upper case, lower case, numbers, specials. A smarter version might remember where you where in the last set (like you went from E to k to 7 and then when you cycle back to upper case you’re still on E).