20 :x(x), y(y), pointerIdentity(pointerIdentity), pointerIndex(pointerIndex)
38 bool isPointerUpEvent;
39 bool isPointerDownEvent;
40 int primaryActionIndex;
41 int primaryActionIdentifier;
42 std::vector<TouchInputPointerEvent> pointerEvents;
45 bool isPointerUpEvent,
46 bool isPointerDownEvent,
47 int primaryActionIndex,
48 int primaryActionIdentifier)
49 :isPointerUpEvent(isPointerUpEvent)
50 ,isPointerDownEvent(isPointerDownEvent)
51 ,primaryActionIndex(primaryActionIndex)
52 ,primaryActionIdentifier(primaryActionIdentifier)
58 TouchEvent::Type touchEventType,
59 int primaryActionIndex,
60 int primaryActionIdentifier,
61 const std::vector<TouchInputPointerEvent>& pointerEvents)
62 : primaryActionIndex(primaryActionIndex)
63 , primaryActionIdentifier(primaryActionIdentifier)
64 , pointerEvents(pointerEvents)
66 switch (touchEventType)
68 case Eegeo::Android::Input::TouchEvent::Type::PointerUp:
69 isPointerUpEvent =
true;
70 isPointerDownEvent =
false;
72 case Eegeo::Android::Input::TouchEvent::Type::PointerDown:
73 isPointerUpEvent =
false;
74 isPointerDownEvent =
true;
76 case Eegeo::Android::Input::TouchEvent::Type::PointerMove:
77 isPointerUpEvent =
false;
78 isPointerDownEvent =
false;