diff --git a/input.cpp b/input.cpp --- a/input.cpp +++ b/input.cpp @@ -1779,6 +1779,20 @@ m_touch->frame(); } ); + connect(device, &FakeInputDevice::keyboardKeyPressRequested, this, + [this] (quint32 button) { + // TODO: Fix time + m_keyboard->processKey(button, InputRedirection::KeyboardKeyPressed, 0); + waylandServer()->simulateUserActivity(); + } + ); + connect(device, &FakeInputDevice::keyboardKeyReleaseRequested, this, + [this] (quint32 button) { + // TODO: Fix time + m_keyboard->processKey(button, InputRedirection::KeyboardKeyReleased, 0); + waylandServer()->simulateUserActivity(); + } + ); } ); connect(workspace(), &Workspace::configChanged, this, &InputRedirection::reconfigure);