Fix NV14 touch behavior (#1242)

TE_UP needs to be resettet to TE_NONE after touch read from MainWindow. If this is not done, the TE_UP event is handled multiple times
This commit is contained in:
Malte Langermann
2021-12-12 12:45:04 +11:00
committed by GitHub
parent c802553189
commit d6e1213554
+2
View File
@@ -553,5 +553,7 @@ TouchState touchPanelRead()
TouchState ret = internalTouchState;
internalTouchState.deltaX = 0;
internalTouchState.deltaY = 0;
if(internalTouchState.event == TE_UP)
internalTouchState.event = TE_NONE;
return ret;
}