Update definitions for XPT2046 touch panel driver

Description

What MCU/Processor/Board and compiler are you using?

Not relevant.

What do you experience?

The XPT2046 resistive touch pad definitions shall be updated in the lv_drv_conf_temp.h file. These are necessary to correctly set the inversion of X and Y directions, and to be able to swap X-Y coordinates.

Code to reproduce

Please check the pull-request #95:


The following line shall be removed:

#  define XPT2046_INV         0

And the following shall be added:

#  define XPT2046_X_INV       0
#  define XPT2046_Y_INV       0
#  define XPT2046_XY_SWAP     0

See my response on GitHub.