[plasma/kwin] src: input: add support for Pickup and Hangup keys

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 4118505b961446cae7699c427da7012c7aff8565 by Vlad Zahorodnii, on behalf of Méven Car.
Committed on 27/07/2026 at 18:02.
Pushed by vladz into branch 'master'.

input: add support for Pickup and Hangup keys

M  +4    -0    src/xkb.cpp

https://invent.kde.org/plasma/kwin/-/commit/4118505b961446cae7699c427da7012c7aff8565

diff --git a/src/xkb.cpp b/src/xkb.cpp
index a3bfe346219..d790a0440b4 100644
--- a/src/xkb.cpp
+++ b/src/xkb.cpp
@@ -343,6 +343,10 @@ static const TransKey g_rgSymXToQT[] = {
     { XKB_KEY_XF86Option,              Qt::Key_Option },
     { XKB_KEY_XF86Paste,               Qt::Key_Paste },
     { XKB_KEY_XF86Phone,               Qt::Key_Phone },
+#if QT_VERSION >= QT_VERSION_CHECK(6, 11, 0)
+    { XKB_KEY_XF86PickupPhone,         Qt::Key_Call },
+    { XKB_KEY_XF86HangupPhone,         Qt::Key_Hangup },
+#endif
     { XKB_KEY_XF86Reply,               Qt::Key_Reply },
     { XKB_KEY_XF86Reload,              Qt::Key_Reload },
     { XKB_KEY_XF86RotateWindows,       Qt::Key_RotateWindows },
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.