From f9130b14dda1c5c1fbcb38b78303aab84f24e233 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sat, 16 Jan 2021 16:23:44 +0100 Subject: [PATCH] Disable touch rotation and inversion by default --- src/drv/hasp_drv_touch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drv/hasp_drv_touch.cpp b/src/drv/hasp_drv_touch.cpp index db21a7cc..8cfa4318 100644 --- a/src/drv/hasp_drv_touch.cpp +++ b/src/drv/hasp_drv_touch.cpp @@ -147,8 +147,8 @@ static inline bool drv_touchpad_getXY(int16_t * touchX, int16_t * touchY) return touched; } -bool touch_rotate = true; -bool touch_invert_x = true; +bool touch_rotate = false; +bool touch_invert_x = false; bool touch_invert_y = false; bool IRAM_ATTR drv_touch_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data)