File indexing completed on 2024-04-14 04:51:46

0001 /**
0002  * SPDX-FileCopyrightText: 2018 Albert Vaca Cintora <albertvaka@gmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include "abstractremoteinput.h"
0010 
0011 struct FakeKey;
0012 
0013 class X11RemoteInput : public AbstractRemoteInput
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     explicit X11RemoteInput(QObject *parent);
0019     ~X11RemoteInput() override;
0020 
0021     bool handlePacket(const NetworkPacket &np) override;
0022     bool hasKeyboardSupport() override;
0023 
0024 private:
0025     FakeKey *m_fakekey;
0026 };