12#if QT_CONFIG(wayland_datadevice)
13#include "qwaylanddatadevice_p.h"
14#include "qwaylanddatadevicemanager_p.h"
16#if QT_CONFIG(clipboard)
17#include "qwaylanddatacontrolv1_p.h"
19#if QT_CONFIG(wayland_client_primary_selection)
20#include "qwaylandprimaryselectionv1_p.h"
22#if QT_CONFIG(tabletevent)
23#include "qwaylandtabletv2_p.h"
38#include <QtGui/private/qpixmap_raster_p.h>
39#include <QtGui/private/qguiapplication_p.h>
40#include <qpa/qplatformwindow.h>
41#include <qpa/qplatforminputcontext.h>
42#include <qpa/qplatformtheme.h>
50#include <wayland-cursor.h>
53#include <QtGui/QGuiApplication>
54#include <QtGui/QPointingDevice>
87#if QT_CONFIG(xkbcommon)
324#if QT_CONFIG(clipboard)
330#if QT_CONFIG(wayland_datadevice)
336#if QT_CONFIG(wayland_client_primary_selection)
357#if QT_CONFIG(tabletevent)
487#if QT_CONFIG(wayland_datadevice)
499#if QT_CONFIG(clipboard)
511#if QT_CONFIG(wayland_client_primary_selection)
528#if QT_CONFIG(tabletevent)
583#if QT_CONFIG(xkbcommon)
604#if QT_CONFIG(xkbcommon)
652 EnterEvent(QWaylandWindow *surface,
const QPointF &local,
const QPointF &global)
671 <<
"leave event first, this is not allowed by the wayland protocol"
672 <<
"attempting to work around it by invalidating the current focus";
701 LeaveEvent(QWaylandWindow *surface,
const QPointF &localPos,
const QPointF &globalPos)
730 MotionEvent(QWaylandWindow *surface, ulong timestamp,
const QPointF &localPos,
731 const QPointF &globalPos, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
768 PressEvent(QWaylandWindow *surface, ulong timestamp,
const QPointF &localPos,
769 const QPointF &globalPos, Qt::MouseButtons buttons, Qt::MouseButton button,
770 Qt::KeyboardModifiers modifiers)
780 ReleaseEvent(QWaylandWindow *surface, ulong timestamp,
const QPointF &localPos,
781 const QPointF &globalPos, Qt::MouseButtons buttons, Qt::MouseButton button,
782 Qt::KeyboardModifiers modifiers)
877 WheelEvent(QWaylandWindow *surface, Qt::ScrollPhase phase, ulong timestamp,
const QPointF &local,
878 const QPointF &global,
const QPoint &pixelDelta,
const QPoint &angleDelta,
879 Qt::MouseEventSource source, Qt::KeyboardModifiers modifiers,
bool inverted)
960 <<
"This is most likely a compositor bug";
1199#if QT_CONFIG(xkbcommon)
1271 <<
"wl_surface argument does not match the current focus"
1272 <<
"This is most likely a compositor bug";
1332#if QT_CONFIG(xkbcommon)
1389#if QT_CONFIG(xkbcommon)
1572#include "moc_qwaylandinputdevice_p.cpp"
EnterEvent(QWaylandWindow *surface, const QPointF &local, const QPointF &global)
LeaveEvent(QWaylandWindow *surface, const QPointF &localPos, const QPointF &globalPos)
MotionEvent(QWaylandWindow *surface, ulong timestamp, const QPointF &localPos, const QPointF &globalPos, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
PressEvent(QWaylandWindow *surface, ulong timestamp, const QPointF &localPos, const QPointF &globalPos, Qt::MouseButtons buttons, Qt::MouseButton button, Qt::KeyboardModifiers modifiers)
ReleaseEvent(QWaylandWindow *surface, ulong timestamp, const QPointF &localPos, const QPointF &globalPos, Qt::MouseButtons buttons, Qt::MouseButton button, Qt::KeyboardModifiers modifiers)
WheelEvent(QWaylandWindow *surface, Qt::ScrollPhase phase, ulong timestamp, const QPointF &local, const QPointF &global, const QPoint &pixelDelta, const QPoint &angleDelta, Qt::MouseEventSource source, Qt::KeyboardModifiers modifiers, bool inverted)
Q_LOGGING_CATEGORY(lcQpaWayland, "qt.qpa.wayland")
static const int MaxTouchPoints
Q_DECLARE_LOGGING_CATEGORY(lcQpaWaylandInput)