Reviewed #3323
This commit is contained in:
parent
b9acbbbc66
commit
5c9cc3f9f7
14
src/rcore.c
14
src/rcore.c
@ -6979,15 +6979,11 @@ static void *EventThread(void *arg)
|
|||||||
gestureEvent.touchAction = touchAction;
|
gestureEvent.touchAction = touchAction;
|
||||||
gestureEvent.pointCount = CORE.Input.Touch.pointCount;
|
gestureEvent.pointCount = CORE.Input.Touch.pointCount;
|
||||||
|
|
||||||
gestureEvent.pointId[0] = 0;
|
for (int i = 0; i < MAX_TOUCH_POINTS; i++)
|
||||||
gestureEvent.pointId[1] = 1;
|
{
|
||||||
gestureEvent.pointId[2] = 2;
|
gestureEvent.pointId[i] = i;
|
||||||
gestureEvent.pointId[3] = 3;
|
gestureEvent.position[i] = CORE.Input.Touch.position[i];
|
||||||
|
}
|
||||||
gestureEvent.position[0] = CORE.Input.Touch.position[0];
|
|
||||||
gestureEvent.position[1] = CORE.Input.Touch.position[1];
|
|
||||||
gestureEvent.position[2] = CORE.Input.Touch.position[2];
|
|
||||||
gestureEvent.position[3] = CORE.Input.Touch.position[3];
|
|
||||||
|
|
||||||
ProcessGestureEvent(gestureEvent);
|
ProcessGestureEvent(gestureEvent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user