mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 14:18:45 +00:00
update:关闭游戏映射
This commit is contained in:
parent
f4b2fcca0d
commit
b1f0a07b95
2 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@ Controller::Controller(QObject* parent) : QObject(parent)
|
||||||
m_receiver = new Receiver(this);
|
m_receiver = new Receiver(this);
|
||||||
Q_ASSERT(m_receiver);
|
Q_ASSERT(m_receiver);
|
||||||
|
|
||||||
m_inputConvert = new InputConvertGame(this);
|
m_inputConvert = new InputConvertNormal(this);
|
||||||
Q_ASSERT(m_inputConvert);
|
Q_ASSERT(m_inputConvert);
|
||||||
connect(m_inputConvert, &InputConvertGame::grabCursor, this, &Controller::grabCursor);
|
connect(m_inputConvert, &InputConvertBase::grabCursor, this, &Controller::grabCursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
Controller::~Controller()
|
Controller::~Controller()
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
#include "inputconvertgame.h"
|
#include "inputconvertnormal.h"
|
||||||
|
|
||||||
class QTcpSocket;
|
class QTcpSocket;
|
||||||
class Receiver;
|
class Receiver;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue