1 --- irrlicht.orig/include/IEventReceiver.h 2014-06-03 19:43:50.433713133 +0200
2 +++ irrlicht/include/IEventReceiver.h 2014-06-03 19:44:36.993711489 +0200
4 // Y position of simple touch.
\r
7 + // number of current touches
\r
10 //! Type of touch event.
\r
11 ETOUCH_INPUT_EVENT Event;
\r
13 --- irrlicht.orig/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2014-06-03 19:43:50.505713130 +0200
14 +++ irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2014-06-03 19:45:37.265709359 +0200
16 event.TouchInput.ID = AMotionEvent_getPointerId(androidEvent, i);
\r
17 event.TouchInput.X = AMotionEvent_getX(androidEvent, i);
\r
18 event.TouchInput.Y = AMotionEvent_getY(androidEvent, i);
\r
19 + event.TouchInput.touchedCount = AMotionEvent_getPointerCount(androidEvent);
\r
21 device->postEventFromUser(event);
\r
24 event.TouchInput.ID = AMotionEvent_getPointerId(androidEvent, pointerIndex);
\r
25 event.TouchInput.X = AMotionEvent_getX(androidEvent, pointerIndex);
\r
26 event.TouchInput.Y = AMotionEvent_getY(androidEvent, pointerIndex);
\r
27 + event.TouchInput.touchedCount = AMotionEvent_getPointerCount(androidEvent);
\r
29 device->postEventFromUser(event);
\r