I need to detect the position of a knob on a touchpad. I need to detect if it is in particular areas and if so, which one. The sections, of course, being the colored parts.
I know that the black center circle ends at 0.8f and -0.8f for both the X and Y axis.
The information I can get is the percent X and percent Y which is 0 to 1 from center or 0 to -1 from center the other way.
How would I go about doing this?