mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
feat: update tips
This commit is contained in:
parent
0f5c116582
commit
2ba002f269
2 changed files with 2 additions and 1 deletions
|
@ -494,6 +494,7 @@ void InputConvertGame::stopMouseMoveTimer()
|
|||
bool InputConvertGame::switchGameMap()
|
||||
{
|
||||
m_gameMap = !m_gameMap;
|
||||
qInfo() << tr("current keymap mode: %1").arg(m_gameMap ? tr("custom") : tr("normal"));
|
||||
|
||||
if (!m_keyMap.isValidMouseMoveMap()) {
|
||||
return m_gameMap;
|
||||
|
|
|
@ -277,7 +277,7 @@ void KeyMap::loadKeyMap(const QString &json)
|
|||
}
|
||||
// this must be called after m_keyMapNodes is stable
|
||||
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:
|
||||
if (!errorString.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue