5#ifndef QEVDEVTOUCHHANDLER_P_H
6#define QEVDEVTOUCHHANDLER_P_H
20#include <QtGui/private/qtguiglobal_p.h>
26#include <QLoggingCategory>
27#include <QtCore/private/qthread_p.h>
28#include <qpa/qwindowsysteminterface.h>
29#include <QtInputSupport/private/qtouchfilter_p.h>
40class QEvdevTouchScreenData;
61 friend class QEvdevTouchScreenData;
64 void registerPointingDevice();
65 void unregisterPointingDevice();
67 QSocketNotifier *m_notify;
69 QEvdevTouchScreenData *d;
70 QPointingDevice *m_device;
86 bool eventFilter(QObject *object, QEvent *event)
override;
94 Q_INVOKABLE
void notifyTouchDeviceRegistered();
96 void filterAndSendTouchPoints();
97 QRect targetScreenGeometry()
const;
102 bool m_touchDeviceRegistered;
104 bool m_touchUpdatePending;
105 QWindow *m_filterWindow;
107 struct FilteredTouchPoint {
110 QWindowSystemInterface::TouchPoint touchPoint;
112 QHash<
int, FilteredTouchPoint> m_filteredPoints;
bool eventFilter(QObject *object, QEvent *event) override
void scheduleTouchPointUpdate()
bool isPointingDeviceRegistered() const
~QEvdevTouchScreenHandlerThread()
QPointingDevice * touchDevice() const
~QEvdevTouchScreenHandler()
static QOutputMapping * get()
#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)