Read simple shapes with PS4 Touchpad X and Y input

Any bright ideas of how to read if the player is drawing simple shapes (like X or T) on the touchpad?