fix simu and simulator touch slide

This commit is contained in:
Malte Langermann
2021-11-18 10:55:41 +10:00
committed by Peter Feerick
parent 15a1981d6e
commit 849cc5d5b3
+4 -1
View File
@@ -910,6 +910,9 @@ bool touchPanelEventOccured()
struct TouchState touchPanelRead()
{
return simTouchState;
struct TouchState st = simTouchState;
simTouchState.deltaX = 0;
simTouchState.deltaY = 0;
return st;
}
#endif