mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 06:08:39 +00:00
feat: update tips
This commit is contained in:
parent
41cc42a96d
commit
bd665bd29e
2 changed files with 2 additions and 1 deletions
|
@ -494,6 +494,7 @@ void InputConvertGame::stopMouseMoveTimer()
|
||||||
bool InputConvertGame::switchGameMap()
|
bool InputConvertGame::switchGameMap()
|
||||||
{
|
{
|
||||||
m_gameMap = !m_gameMap;
|
m_gameMap = !m_gameMap;
|
||||||
|
qInfo() << tr("current keymap mode: %1").arg(m_gameMap ? tr("custom") : tr("normal"));
|
||||||
|
|
||||||
if (!m_keyMap.isValidMouseMoveMap()) {
|
if (!m_keyMap.isValidMouseMoveMap()) {
|
||||||
return m_gameMap;
|
return m_gameMap;
|
||||||
|
|
|
@ -277,7 +277,7 @@ void KeyMap::loadKeyMap(const QString &json)
|
||||||
}
|
}
|
||||||
// this must be called after m_keyMapNodes is stable
|
// this must be called after m_keyMapNodes is stable
|
||||||
makeReverseMap();
|
makeReverseMap();
|
||||||
qInfo() << tr("Script updated, Press ~ key to switch the mapping mode");
|
qInfo() << tr("Script updated, current keymap mode:normal, Press ~ key to switch keymap mode");
|
||||||
|
|
||||||
parseError:
|
parseError:
|
||||||
if (!errorString.isEmpty()) {
|
if (!errorString.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue