KWayland
fakeinput.cpp
76 org_kde_kwin_fake_input_authenticate(d->manager, applicationName.toUtf8().constData(), reason.toUtf8().constData());
82 org_kde_kwin_fake_input_pointer_motion(d->manager, wl_fixed_from_double(delta.width()), wl_fixed_from_double(delta.height()));
88 if (wl_proxy_get_version(d->manager) < ORG_KDE_KWIN_FAKE_INPUT_POINTER_MOTION_ABSOLUTE_SINCE_VERSION) {
92 org_kde_kwin_fake_input_pointer_motion_absolute(d->manager, wl_fixed_from_double(pos.x()), wl_fixed_from_double(pos.y()));
172 org_kde_kwin_fake_input_touch_down(d->manager, id, wl_fixed_from_double(pos.x()), wl_fixed_from_double(pos.y()));
void requestKeyboardKeyPress(quint32 linuxKey)
Request a keyboard key press.
Definition: fakeinput.cpp:199
void authenticate(const QString &applicationName, const QString &reason)
Authenticate with the Wayland server in order to request sending fake input events.
Definition: fakeinput.cpp:73
qreal height() const const
void setEventQueue(EventQueue *queue)
Sets the queue to use for bound proxies.
Definition: fakeinput.cpp:68
void requestTouchUp(quint32 id)
Requests a touch up of the touch point identified by id.
Definition: fakeinput.cpp:181
void requestPointerButtonRelease(Qt::MouseButton button)
Convenience overload.
Definition: fakeinput.cpp:128
MouseButton
void requestKeyboardKeyRelease(quint32 linuxKey)
Request a keyboard button release.
Definition: fakeinput.cpp:209
Orientation
QByteArray toUtf8() const const
void requestTouchDown(quint32 id, const QPointF &pos)
Request a touch down at pos in global coordinates.
Definition: fakeinput.cpp:169
void requestPointerMoveAbsolute(const QPointF &pos)
Request an absolute pointer motion to pos position.
Definition: fakeinput.cpp:85
void setup(org_kde_kwin_fake_input *manager)
Setup this FakeInput to manage the manager.
Definition: fakeinput.cpp:56
void requestPointerButtonPress(Qt::MouseButton button)
Convenience overload.
Definition: fakeinput.cpp:117
qreal x() const const
qreal y() const const
const char * constData() const const
void requestPointerAxis(Qt::Orientation axis, qreal delta)
Request a scroll of the pointer axis with delta.
Definition: fakeinput.cpp:151
void requestTouchCancel()
Requests to cancel the current touch event sequence.
Definition: fakeinput.cpp:187
void requestPointerButtonClick(Qt::MouseButton button)
Convenience overload.
Definition: fakeinput.cpp:139
void requestPointerMove(const QSizeF &delta)
Request a relative pointer motion of delta pixels.
Definition: fakeinput.cpp:79
void requestTouchMotion(quint32 id, const QPointF &pos)
Request a move of the touch point identified by id to new global pos.
Definition: fakeinput.cpp:175
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.