Disable touch rotation and inversion by default

This commit is contained in:
fvanroie 2021-01-16 16:23:44 +01:00
parent 106efdba9a
commit f9130b14dd

View File

@ -147,8 +147,8 @@ static inline bool drv_touchpad_getXY(int16_t * touchX, int16_t * touchY)
return touched; return touched;
} }
bool touch_rotate = true; bool touch_rotate = false;
bool touch_invert_x = true; bool touch_invert_x = false;
bool touch_invert_y = false; bool touch_invert_y = false;
bool IRAM_ATTR drv_touch_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data) bool IRAM_ATTR drv_touch_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data)