![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\qmltype WaylandSeat \nativetype QWaylandSeat \inqmlmodule QtWayland.Compositor More...
#include <qwaylandseat.h>
Public Types | |
enum | CapabilityFlag { Pointer = 0x01 , Keyboard = 0x02 , Touch = 0x04 , DefaultCapabilities = Pointer | Keyboard | Touch } |
This enum type describes the capabilities of a QWaylandSeat. More... | |
Signals | |
void | mouseFocusChanged (QWaylandView *newFocus, QWaylandView *oldFocus) |
This signal is emitted when the mouse focus has changed from oldFocus to newFocus. | |
void | keyboardFocusChanged (QWaylandSurface *newFocus, QWaylandSurface *oldFocus) |
\qmlsignal void QtWayland.Compositor::WaylandSeat::keyboardFocusChanged(QWaylandSurface newFocus, QWaylandSurface oldFocus) | |
void | cursorSurfaceRequested (QWaylandSurface *surface, int hotspotX, int hotspotY, QWaylandClient *client) |
![]() | |
void | destroyed (QObject *=nullptr) |
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked. | |
void | objectNameChanged (const QString &objectName, QPrivateSignal) |
This signal is emitted after the object's name has been changed. | |
Public Member Functions | |
QWaylandSeat (QWaylandCompositor *compositor, CapabilityFlags capabilityFlags=DefaultCapabilities) | |
Constructs a QWaylandSeat for the given compositor and capabilityFlags. | |
~QWaylandSeat () override | |
Destroys the QWaylandSeat. | |
virtual void | initialize () |
Initializes parts of the seat corresponding to the capabilities set in the constructor, or through setCapabilities(). | |
bool | isInitialized () const |
Returns true if the QWaylandSeat is initialized; false otherwise. | |
void | sendMousePressEvent (Qt::MouseButton button) |
Sends a mouse press event for button to the QWaylandSeat's pointer device. | |
void | sendMouseReleaseEvent (Qt::MouseButton button) |
Sends a mouse release event for button to the QWaylandSeat's pointer device. | |
void | sendMouseMoveEvent (QWaylandView *surface, const QPointF &localPos, const QPointF &outputSpacePos=QPointF()) |
Sets the mouse focus to view and sends a mouse move event to the pointer device with the local position localPos and output space position outputSpacePos. | |
void | sendMouseWheelEvent (Qt::Orientation orientation, int delta) |
Sends a mouse wheel event to the QWaylandSeat's pointer device with the given orientation and delta. | |
void | sendKeyPressEvent (uint code) |
Sends a key press event with the key code to the keyboard device. | |
void | sendKeyReleaseEvent (uint code) |
Sends a key release event with the key code to the keyboard device. | |
void | sendFullKeyEvent (QKeyEvent *event) |
Sends the event to the keyboard device. | |
Q_INVOKABLE void | sendKeyEvent (int qtKey, bool pressed) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendKeyEvent(int qtKey, bool pressed) | |
Q_REVISION (6, 7) Q_INVOKABLE void sendUnicodeKeyPressEvent(uint unicode) | |
Q_REVISION (6, 7) Q_INVOKABLE void sendUnicodeKeyReleaseEvent(uint unicode) | |
uint | sendTouchPointEvent (QWaylandSurface *surface, int id, const QPointF &point, Qt::TouchPointState state) |
Sends a touch point event to the surface on a touch device with the given id, point and state. | |
Q_INVOKABLE uint | sendTouchPointPressed (QWaylandSurface *surface, int id, const QPointF &position) |
\qmlmethod uint QtWayland.Compositor::WaylandSeat::sendTouchPointPressed(WaylandSurface surface, int id, point position) | |
Q_INVOKABLE uint | sendTouchPointReleased (QWaylandSurface *surface, int id, const QPointF &position) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchPointReleased(WaylandSurface surface, int id, point position) | |
Q_INVOKABLE uint | sendTouchPointMoved (QWaylandSurface *surface, int id, const QPointF &position) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchPointMoved(WaylandSurface surface, int id, point position) | |
Q_INVOKABLE void | sendTouchFrameEvent (QWaylandClient *client) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchFrameEvent(WaylandClient client) | |
Q_INVOKABLE void | sendTouchCancelEvent (QWaylandClient *client) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchCancelEvent(WaylandClient client) | |
void | sendFullTouchEvent (QWaylandSurface *surface, QTouchEvent *event) |
Sends the event to the specified surface on the touch device. | |
QWaylandPointer * | pointer () const |
Returns the pointer device for this QWaylandSeat. | |
QWaylandView * | mouseFocus () const |
Returns the view that currently has mouse focus. | |
void | setMouseFocus (QWaylandView *view) |
Sets the current mouse focus to view. | |
QWaylandKeyboard * | keyboard () const |
Returns the keyboard for this input device. | |
QWaylandSurface * | keyboardFocus () const |
Returns the current focused surface for keyboard input. | |
bool | setKeyboardFocus (QWaylandSurface *surface) |
Sets the current keyboard focus to surface. | |
QWaylandKeymap * | keymap () |
QWaylandTouch * | touch () const |
Returns the touch device for this QWaylandSeat. | |
QWaylandCompositor * | compositor () const |
Returns the compositor for this QWaylandSeat. | |
QWaylandSeat::CapabilityFlags | capabilities () const |
Returns the drag object for this QWaylandSeat. | |
virtual bool | isOwner (QInputEvent *inputEvent) const |
![]() | |
~QWaylandObject () override | |
QWaylandCompositorExtension * | extension (const QByteArray &name) |
Returns the compositor extension which matches name if one has been registered with the QWaylandObject. | |
QWaylandCompositorExtension * | extension (const wl_interface *interface) |
Returns the compositor extension which matches interface if one has been registered with the QWaylandObject. | |
QList< QWaylandCompositorExtension * > | extensions () const |
Returns the list of compositor extensions that have been registered with this QWaylandObject. | |
void | addExtension (QWaylandCompositorExtension *extension) |
Registers extension with this QWaylandObject. | |
void | removeExtension (QWaylandCompositorExtension *extension) |
Removes extension from the list of registered extensions in this QWaylandObject, if it has previously been registered using \l{addExtension()}. | |
![]() | |
Q_INVOKABLE | QObject (QObject *parent=nullptr) |
Constructs an object with parent object parent. | |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. | |
virtual bool | event (QEvent *event) |
This virtual function receives events to an object and should return true if the event e was recognized and processed. | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
Filters events if this object has been installed as an event filter for the watched object. | |
QString | objectName () const |
Q_WEAK_OVERLOAD void | setObjectName (const QString &name) |
Sets the object's name to name. | |
void | setObjectName (QAnyStringView name) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QBindable< QString > | bindableObjectName () |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false . | |
bool | isWindowType () const |
Returns true if the object is a window; otherwise returns false . | |
bool | isQuickItemType () const |
Returns true if the object is a QQuickItem; otherwise returns false . | |
bool | signalsBlocked () const noexcept |
Returns true if signals are blocked; otherwise returns false . | |
bool | blockSignals (bool b) noexcept |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). | |
QThread * | thread () const |
Returns the thread in which the object lives. | |
bool | moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL) |
Changes the thread affinity for this object and its children and returns true on success. | |
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds. | |
int | startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
void | killTimer (int id) |
Kills the timer with timer identifier, id. | |
void | killTimer (Qt::TimerId id) |
template<typename T> | |
T | findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object. | |
template<typename T> | |
QList< T > | findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. | |
template<typename T> | |
T | findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<typename T> | |
QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const QObjectList & | children () const |
Returns a list of child objects. | |
void | setParent (QObject *parent) |
Makes the object a child of parent. | |
void | installEventFilter (QObject *filterObj) |
Installs an event filter filterObj on this object. | |
void | removeEventFilter (QObject *obj) |
Removes an event filter object obj from this object. | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
void | dumpObjectTree () const |
Dumps a tree of children to the debug output. | |
void | dumpObjectInfo () const |
Dumps information about signal connections, etc. | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. | |
bool | setProperty (const char *name, QVariant &&value) |
QVariant | property (const char *name) const |
Returns the value of the object's name property. | |
QList< QByteArray > | dynamicPropertyNames () const |
QBindingStorage * | bindingStorage () |
const QBindingStorage * | bindingStorage () const |
QObject * | parent () const |
Returns a pointer to the parent object. | |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false . | |
Static Public Member Functions | |
static QWaylandSeat * | fromSeatResource (struct ::wl_resource *resource) |
Returns the QWaylandSeat corresponding to the resource. | |
![]() | |
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
\threadsafe | |
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1, typename Func2> | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1, typename Func2> | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
\threadsafe | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static bool | disconnect (const QMetaObject::Connection &) |
Disconnect a connection. | |
template<typename Func1, typename Func2> | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
template<typename Func1> | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
Properties | |
QWaylandKeymap * | keymap |
Returns the keymap object for this QWaylandSeat. | |
![]() | |
QString | objectName |
the name of this object | |
Additional Inherited Members | |
![]() | |
void | deleteLater () |
\threadsafe | |
![]() | |
QWaylandObject (QObject *parent=nullptr) | |
Creates a QWaylandObject as a child of parent. | |
QWaylandObject (QObjectPrivate &d, QObject *parent=nullptr) | |
![]() | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr. | |
int | senderSignalIndex () const |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. | |
bool | isSignalConnected (const QMetaMethod &signal) const |
virtual void | timerEvent (QTimerEvent *event) |
This event handler can be reimplemented in a subclass to receive timer events for the object. | |
virtual void | childEvent (QChildEvent *event) |
This event handler can be reimplemented in a subclass to receive child events. | |
virtual void | customEvent (QEvent *event) |
This event handler can be reimplemented in a subclass to receive custom events. | |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
QObject (QObjectPrivate &dd, QObject *parent=nullptr) | |
![]() | |
QList< QWaylandCompositorExtension * > | extension_vector |
![]() | |
QScopedPointer< QObjectData > | d_ptr |
![]() | |
template< class T > T | qobject_cast (const QObject *object) |
Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr. | |
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QObjectList | |
\macro Q_CLASSINFO(Name, Value) | |
\qmltype WaylandSeat \nativetype QWaylandSeat \inqmlmodule QtWayland.Compositor
Provides access to keyboard, mouse, and touch input.
The WaylandSeat type provides access to different types of user input and maintains a keyboard focus and a mouse pointer. It corresponds to the wl_seat interface in the Wayland protocol.
\inmodule QtWaylandCompositor
The QWaylandSeat class provides access to keyboard, mouse, and touch input.
The QWaylandSeat provides access to different types of user input and maintains a keyboard focus and a mouse pointer. It corresponds to the wl_seat interface in the Wayland protocol.
Definition at line 30 of file qwaylandseat.h.
This enum type describes the capabilities of a QWaylandSeat.
\value Pointer The QWaylandSeat supports pointer input. \value Keyboard The QWaylandSeat supports keyboard input. \value Touch The QWaylandSeat supports touch input. \value DefaultCapabilities The QWaylandSeat has the default capabilities.
Enumerator | |
---|---|
Pointer | |
Keyboard | |
Touch | |
DefaultCapabilities |
Definition at line 47 of file qwaylandseat.h.
QWaylandSeat::QWaylandSeat | ( | QWaylandCompositor * | compositor, |
CapabilityFlags | capabilityFlags = DefaultCapabilities ) |
Constructs a QWaylandSeat for the given compositor and capabilityFlags.
Definition at line 152 of file qwaylandseat.cpp.
|
override |
Destroys the QWaylandSeat.
Definition at line 170 of file qwaylandseat.cpp.
QWaylandSeat::CapabilityFlags QWaylandSeat::capabilities | ( | ) | const |
Returns the drag object for this QWaylandSeat.
Returns the capability flags for this QWaylandSeat.
Definition at line 766 of file qwaylandseat.cpp.
QWaylandCompositor * QWaylandSeat::compositor | ( | ) | const |
Returns the compositor for this QWaylandSeat.
Definition at line 746 of file qwaylandseat.cpp.
|
signal |
|
static |
Returns the QWaylandSeat corresponding to the resource.
The resource is expected to have the type wl_seat.
Definition at line 785 of file qwaylandseat.cpp.
|
virtual |
Initializes parts of the seat corresponding to the capabilities set in the constructor, or through setCapabilities().
Definition at line 182 of file qwaylandseat.cpp.
bool QWaylandSeat::isInitialized | ( | ) | const |
Returns true if the QWaylandSeat is initialized; false otherwise.
The value true
indicates that it's now possible for clients to start using the seat.
Definition at line 202 of file qwaylandseat.cpp.
|
virtual |
Definition at line 775 of file qwaylandseat.cpp.
QWaylandKeyboard * QWaylandSeat::keyboard | ( | ) | const |
Returns the keyboard for this input device.
Definition at line 641 of file qwaylandseat.cpp.
QWaylandSurface * QWaylandSeat::keyboardFocus | ( | ) | const |
Returns the current focused surface for keyboard input.
Definition at line 650 of file qwaylandseat.cpp.
|
signal |
\qmlsignal void QtWayland.Compositor::WaylandSeat::keyboardFocusChanged(QWaylandSurface newFocus, QWaylandSurface oldFocus)
This signal is emitted when setKeyboardFocus() is called or when a WaylandQuickItem has focus and the user starts pressing keys.
newFocus has the surface that received keyboard focus; or nullptr
if no surface has focus. oldFocus has the surface that lost keyboard focus; or nullptr
if no surface had focus.
This signal is emitted when setKeyboardFocus() is called.
newFocus has the surface that received keyboard focus; or nullptr
if no surface has focus. oldFocus has the surface that lost keyboard focus; or nullptr
if no surface had focus.
QWaylandKeymap * QWaylandSeat::keymap | ( | ) |
QWaylandView * QWaylandSeat::mouseFocus | ( | ) | const |
Returns the view that currently has mouse focus.
Definition at line 717 of file qwaylandseat.cpp.
|
signal |
This signal is emitted when the mouse focus has changed from oldFocus to newFocus.
QWaylandPointer * QWaylandSeat::pointer | ( | ) | const |
Returns the pointer device for this QWaylandSeat.
Definition at line 699 of file qwaylandseat.cpp.
QWaylandSeat::Q_REVISION | ( | 6 | , |
7 | ) |
QWaylandSeat::Q_REVISION | ( | 6 | , |
7 | ) |
Sends the event to the keyboard device.
Qt::Key_Exclam
is normally not a separate key: with most keyboards the exclamation mark is produced with Shift + 1. In that case, to send an exclamation mark key press event, use
{QKeyEvent(QEvent::KeyPress, Qt::Key_1, Qt::ShiftModifier)}. Definition at line 445 of file qwaylandseat.cpp.
void QWaylandSeat::sendFullTouchEvent | ( | QWaylandSurface * | surface, |
QTouchEvent * | event ) |
Sends the event to the specified surface on the touch device.
Definition at line 427 of file qwaylandseat.cpp.
void QWaylandSeat::sendKeyEvent | ( | int | qtKey, |
bool | pressed ) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendKeyEvent(int qtKey, bool pressed)
Sends a key press (if pressed is true
) or release (if pressed is false
) event of a key qtKey to the keyboard device.
Sends a key press (if pressed is true
) or release (if pressed is false
) event of a key qtKey to the keyboard device.
Qt::Key_Exclam
. Use \l{sendFullKeyEvent} instead.Definition at line 522 of file qwaylandseat.cpp.
Sends a key press event with the key code to the keyboard device.
Definition at line 248 of file qwaylandseat.cpp.
Sends a key release event with the key code to the keyboard device.
Definition at line 257 of file qwaylandseat.cpp.
void QWaylandSeat::sendMouseMoveEvent | ( | QWaylandView * | surface, |
const QPointF & | localPos, | ||
const QPointF & | outputSpacePos = QPointF() ) |
Sets the mouse focus to view and sends a mouse move event to the pointer device with the local position localPos and output space position outputSpacePos.
Definition at line 230 of file qwaylandseat.cpp.
void QWaylandSeat::sendMousePressEvent | ( | Qt::MouseButton | button | ) |
Sends a mouse press event for button to the QWaylandSeat's pointer device.
Definition at line 211 of file qwaylandseat.cpp.
void QWaylandSeat::sendMouseReleaseEvent | ( | Qt::MouseButton | button | ) |
Sends a mouse release event for button to the QWaylandSeat's pointer device.
Definition at line 220 of file qwaylandseat.cpp.
void QWaylandSeat::sendMouseWheelEvent | ( | Qt::Orientation | orientation, |
int | delta ) |
Sends a mouse wheel event to the QWaylandSeat's pointer device with the given orientation and delta.
Definition at line 239 of file qwaylandseat.cpp.
void QWaylandSeat::sendTouchCancelEvent | ( | QWaylandClient * | client | ) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchCancelEvent(WaylandClient client)
Sends a cancel event to the touch device of a client.
Sends a cancel event to the touch device of a client.
Definition at line 412 of file qwaylandseat.cpp.
void QWaylandSeat::sendTouchFrameEvent | ( | QWaylandClient * | client | ) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchFrameEvent(WaylandClient client)
Sends a frame event to the touch device of a client to indicate the end of a series of touch up, down, and motion events.
Sends a frame event to the touch device of a client to indicate the end of a series of touch up, down, and motion events.
Definition at line 396 of file qwaylandseat.cpp.
uint QWaylandSeat::sendTouchPointEvent | ( | QWaylandSurface * | surface, |
int | id, | ||
const QPointF & | point, | ||
Qt::TouchPointState | state ) |
Sends a touch point event to the surface on a touch device with the given id, point and state.
Returns the serial for the touch up or touch down event.
Definition at line 273 of file qwaylandseat.cpp.
uint QWaylandSeat::sendTouchPointMoved | ( | QWaylandSurface * | surface, |
int | id, | ||
const QPointF & | position ) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchPointMoved(WaylandSurface surface, int id, point position)
Sends a touch moved event for the touch point id on surface with position position.
Returns the serial for the touch motion event.
Sends a touch moved event for the touch point id on surface with position position.
Returns the serial for the touch motion event.
Definition at line 380 of file qwaylandseat.cpp.
uint QWaylandSeat::sendTouchPointPressed | ( | QWaylandSurface * | surface, |
int | id, | ||
const QPointF & | position ) |
\qmlmethod uint QtWayland.Compositor::WaylandSeat::sendTouchPointPressed(WaylandSurface surface, int id, point position)
Sends a touch pressed event for the touch point id on surface with position position.
Returns the serial for the touch down event.
Sends a touch pressed event for the touch point id on surface with position position.
Returns the serial for the touch down event.
Definition at line 312 of file qwaylandseat.cpp.
uint QWaylandSeat::sendTouchPointReleased | ( | QWaylandSurface * | surface, |
int | id, | ||
const QPointF & | position ) |
\qmlmethod void QtWayland.Compositor::WaylandSeat::sendTouchPointReleased(WaylandSurface surface, int id, point position)
Sends a touch released event for the touch point id on surface with position position.
Returns the serial for the touch up event.
Sends a touch released event for the touch point id on surface with position position.
Returns the serial for the touch up event.
Definition at line 346 of file qwaylandseat.cpp.
bool QWaylandSeat::setKeyboardFocus | ( | QWaylandSurface * | surface | ) |
Sets the current keyboard focus to surface.
Returns a boolean indicating if the operation was successful.
Definition at line 664 of file qwaylandseat.cpp.
void QWaylandSeat::setMouseFocus | ( | QWaylandView * | view | ) |
Sets the current mouse focus to view.
Definition at line 726 of file qwaylandseat.cpp.
QWaylandTouch * QWaylandSeat::touch | ( | ) | const |
Returns the touch device for this QWaylandSeat.
Definition at line 708 of file qwaylandseat.cpp.
|
read |
Returns the keymap object for this QWaylandSeat.
This property holds the keymap object.
A keymap provides a way to translate actual key scan codes into a meaningful value. For example, if you use a keymap with a Norwegian layout, the key to the right of the letter L produces an Ø.
Keymaps can also be used to customize key functions, such as to specify whether Control and CAPS lock should be swapped, and so on.
Definition at line 39 of file qwaylandseat.h.