diff --git a/QtScrcpy/device/controller/controller.cpp b/QtScrcpy/device/controller/controller.cpp index 593d2cc..c4a5791 100644 --- a/QtScrcpy/device/controller/controller.cpp +++ b/QtScrcpy/device/controller/controller.cpp @@ -11,9 +11,9 @@ Controller::Controller(QObject* parent) : QObject(parent) m_receiver = new Receiver(this); Q_ASSERT(m_receiver); - m_inputConvert = new InputConvertGame(this); + m_inputConvert = new InputConvertNormal(this); Q_ASSERT(m_inputConvert); - connect(m_inputConvert, &InputConvertGame::grabCursor, this, &Controller::grabCursor); + connect(m_inputConvert, &InputConvertBase::grabCursor, this, &Controller::grabCursor); } Controller::~Controller() diff --git a/QtScrcpy/device/controller/controller.h b/QtScrcpy/device/controller/controller.h index 220b966..a2e99bf 100644 --- a/QtScrcpy/device/controller/controller.h +++ b/QtScrcpy/device/controller/controller.h @@ -4,7 +4,7 @@ #include #include -#include "inputconvertgame.h" +#include "inputconvertnormal.h" class QTcpSocket; class Receiver;