feat: update tips

dev
rankun 5 years ago
parent 41cc42a96d
commit bd665bd29e

@ -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…
Cancel
Save