mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
Hook up keyevents on Wayland
This commit is contained in:
committed by
Aleix Pol Gonzalez
parent
953cc4218b
commit
01c775f2e8
@@ -61,10 +61,8 @@ void EventData::init()
|
||||
|
||||
void XdpEventHandler::handleKeyboard(bool down, rfbKeySym keySym)
|
||||
{
|
||||
// TODO: implement button handling
|
||||
// both in FakeInput interface and here
|
||||
Q_UNUSED(down)
|
||||
Q_UNUSED(keySym)
|
||||
const QDBusObjectPath sessionHandle = frameBuffer()->customProperty(QStringLiteral("session_handle")).value<QDBusObjectPath>();
|
||||
data->dbusXdpRemoteDesktopService->NotifyKeyboardKeysym(sessionHandle, {}, keySym, down);
|
||||
}
|
||||
|
||||
void XdpEventHandler::handlePointer(int buttonMask, int x, int y)
|
||||
|
||||
Reference in New Issue
Block a user