Add Touch Calibration screen (#20049)

This commit is contained in:
Victor Oliveira
2020-11-15 19:39:58 -03:00
committed by GitHub
parent cab83ba840
commit ea371618da
45 changed files with 845 additions and 904 deletions

View File

@@ -171,17 +171,17 @@
#endif
#if ENABLED(TOUCH_SCREEN)
#ifndef XPT2046_X_CALIBRATION
#define XPT2046_X_CALIBRATION 12033
#ifndef TOUCH_CALIBRATION_X
#define TOUCH_CALIBRATION_X 12033
#endif
#ifndef XPT2046_Y_CALIBRATION
#define XPT2046_Y_CALIBRATION -9047
#ifndef TOUCH_CALIBRATION_Y
#define TOUCH_CALIBRATION_Y -9047
#endif
#ifndef XPT2046_X_OFFSET
#define XPT2046_X_OFFSET -30
#ifndef TOUCH_OFFSET_X
#define TOUCH_OFFSET_X -30
#endif
#ifndef XPT2046_Y_OFFSET
#define XPT2046_Y_OFFSET 254
#ifndef TOUCH_OFFSET_Y
#define TOUCH_OFFSET_Y 254
#endif
#endif