34 static QList<QWindowSystemInterface::TouchPoint> getCurrentTouchPointList(NSEvent *event,
bool acceptSingleTouch);
35 static void setMouseInDraggingState(
bool inDraggingState);
36 static QPointingDevice *getTouchDevice(QInputDevice::DeviceType type, quint64 id);
39 static QHash<quint64, QPointingDevice*> _touchDevices;
40 static NSMutableDictionary<NSObject<NSCopying> *, NSValue *> *_currentTouches;
41 static QPointF _screenReferencePos;
42 static QPointF _trackpadReferencePos;
43 static int _idAssignmentCount;
44 static NSUInteger _touchCount;
45 static bool _updateInternalStateOnly;
47 QWindowSystemInterface::TouchPoint _touchPoint;
48 NSObject<NSCopying> *_identity;
50 QCocoaTouch(NSTouch *nstouch);
53 void updateTouchData(NSTouch *nstouch, NSTouchPhase phase);
54 static QCocoaTouch *findQCocoaTouch(NSTouch *nstouch);
55 static QEventPoint::State toTouchPointState(NSTouchPhase nsState);