feat(GT911): Add CLI command to reset touch panel cfg (#2351)
* GT911: add CLI command to reset config Related to #2063 * X12S: touch coordinate inversion in GT911 config Note: config reset with CLI "reset_gt911" required. * Remove touch sensor software inversion
This commit is contained in:
@@ -187,11 +187,6 @@ extern "C" void touchDriverRead(lv_indev_drv_t *drv, lv_indev_data_t *data)
|
||||
|
||||
TouchState st = touchPanelRead();
|
||||
|
||||
#if defined(TOUCH_PANEL_INVERTED) && !defined(SIMU)
|
||||
st.x = LCD_W - st.x;
|
||||
st.y = LCD_H - st.y;
|
||||
#endif
|
||||
|
||||
// no touch input if backlight is disabled
|
||||
if (!isBacklightEnabled()) {
|
||||
reset_inactivity();
|
||||
|
||||
Reference in New Issue
Block a user