Skip to content

Commit

Permalink
feat: update tips
Browse files Browse the repository at this point in the history
  • Loading branch information
rankun committed Aug 2, 2020
1 parent 0f5c116 commit 2ba002f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion QtScrcpy/device/controller/inputconvert/keymap/keymap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 2ba002f

Please sign in to comment.