Adafruit FT6206 Arduino Library

Helper class that stores a TouchScreen Point with x, y, and z coordinates, for easy math/comparison. More...
#include <Adafruit_FT6206.h>
Public Member Functions  
TS_Point (void)  
Instantiates a new FT6206 class with x, y and z set to 0 by default.  
TS_Point (int16_t x, int16_t y, int16_t z)  
Instantiates a new FT6206 class with x, y and z set by params. More...  
bool  operator== (TS_Point) 
Simple == comparator for two TS_Point objects. More...  
bool  operator!= (TS_Point) 
Simple != comparator for two TS_Point objects. More...  
Public Attributes  
int16_t  x 
int16_t  y 
int16_t  z 
Helper class that stores a TouchScreen Point with x, y, and z coordinates, for easy math/comparison.
TS_Point::TS_Point  (  int16_t  _x, 
int16_t  _y,  
int16_t  _z  
) 
Instantiates a new FT6206 class with x, y and z set by params.
_x  The X coordinate 
_y  The Y coordinate 
_z  The Z coordinate 
bool TS_Point::operator==  (  TS_Point  p1  ) 
Simple == comparator for two TS_Point objects.
bool TS_Point::operator!=  (  TS_Point  p1  ) 
Simple != comparator for two TS_Point objects.
int16_t TS_Point::x 
X coordinate
int16_t TS_Point::y 
Y coordinate
int16_t TS_Point::z 
Z coordinate (often used for pressure)