You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have received reports of a display with an integrated XPT2046 touch controller that appears to read-back a swapped X & Y convention versus what would be expected from a native portrait orientation.
In order to support such displays, we would need to:
a) modify the calibration utility to detect this case
b) add an ADATOUCH_REMAP_YX config flag
c) modify the core library to perform the X/Y swap upon ADATOUCH_REMAP_YX (prior to any flip / swap as a result of rotation away from native orientation).
Without this enhancement, these displays would currently report ERROR: Calibration failed.
The text was updated successfully, but these errors were encountered:
Hermann has reported that the enhanced calibration sketch & functionality in PR 114 works properly with his Mega2560 + SPI-TFT ILI9341 + XPT2046 (where his XPT2046 was appearing to provide swapped/landscape X & Y coords). Thanks Hermann for testing it!
I have received reports of a display with an integrated XPT2046 touch controller that appears to read-back a swapped X & Y convention versus what would be expected from a native portrait orientation.
In order to support such displays, we would need to:
ADATOUCH_REMAP_YX
config flagWithout this enhancement, these displays would currently report ERROR: Calibration failed.
The text was updated successfully, but these errors were encountered: