x12s: move touch panel inversion to LVGL driver
This commit is contained in:
committed by
Raphael Coeffic
parent
f1f8249205
commit
1f8072374c
@@ -746,11 +746,6 @@ struct TouchState touchPanelRead()
|
||||
return internalTouchState;
|
||||
}
|
||||
|
||||
#if defined (PCBX12S)
|
||||
touchData.points[0].x = LCD_W - touchData.points[0].x;
|
||||
touchData.points[0].y = LCD_H - touchData.points[0].y;
|
||||
#endif
|
||||
|
||||
if (internalTouchState.event == TE_NONE ||
|
||||
internalTouchState.event == TE_UP ||
|
||||
internalTouchState.event == TE_SLIDE_END) {
|
||||
|
||||
Reference in New Issue
Block a user