4#ifndef QVXTOUCHHANDLER_P_H
5#define QVXTOUCHHANDLER_P_H
18#include <QtGui/private/qtguiglobal_p.h>
24#include <QLoggingCategory>
25#include <QtCore/private/qthread_p.h>
26#include <qpa/qwindowsysteminterface.h>
27#include <QtInputSupport/private/qtouchfilter_p.h>
35class QVxTouchScreenData;
56 friend class QVxTouchScreenData;
59 void registerPointingDevice();
60 void unregisterPointingDevice();
62 QSocketNotifier *m_notify;
64 QVxTouchScreenData *d;
65 QPointingDevice *m_device;
78 bool eventFilter(QObject *object, QEvent *event)
override;
86 Q_INVOKABLE
void notifyTouchDeviceRegistered();
88 void filterAndSendTouchPoints();
89 QRect targetScreenGeometry()
const;
94 bool m_touchDeviceRegistered;
96 bool m_touchUpdatePending;
97 QWindow *m_filterWindow;
99 struct FilteredTouchPoint {
102 QWindowSystemInterface::TouchPoint touchPoint;
104 QHash<
int, FilteredTouchPoint> m_filteredPoints;
static QOutputMapping * get()
bool eventFilter(QObject *object, QEvent *event) override
~QVxTouchScreenHandlerThread()
bool isPointingDeviceRegistered() const
void scheduleTouchPointUpdate()
QPointingDevice * touchDevice() const
#define ABS_MT_POSITION_X
#define ABS_MT_POSITION_Y
#define ABS_MT_TRACKING_ID
#define ABS_MT_TOUCH_MAJOR
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcEventDispatcher)