diff options
author | german77 <juangerman-13@hotmail.com> | 2022-01-28 00:32:26 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-01-28 00:32:48 +0100 |
commit | fea05a17ea159a1fb74d2ad707b63e972195ac50 (patch) | |
tree | 3507e39f93c19a18f81039a2216b53df58c1da80 | |
parent | Merge pull request #7761 from v1993/patch-8 (diff) | |
download | yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar.gz yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar.bz2 yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar.lz yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar.xz yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.tar.zst yuzu-fea05a17ea159a1fb74d2ad707b63e972195ac50.zip |
-rw-r--r-- | src/yuzu/configuration/configure_hotkeys.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.cpp b/src/yuzu/configuration/configure_hotkeys.cpp index be10e0a31..53e629a5e 100644 --- a/src/yuzu/configuration/configure_hotkeys.cpp +++ b/src/yuzu/configuration/configure_hotkeys.cpp @@ -178,52 +178,52 @@ void ConfigureHotkeys::SetPollingResult(Core::HID::NpadButton button, const bool QString ConfigureHotkeys::GetButtonName(Core::HID::NpadButton button) const { Core::HID::NpadButtonState state{button}; if (state.a) { - return tr("A"); + return QStringLiteral("A"); } if (state.b) { - return tr("B"); + return QStringLiteral("B"); } if (state.x) { - return tr("X"); + return QStringLiteral("X"); } if (state.y) { - return tr("Y"); + return QStringLiteral("Y"); } if (state.l || state.right_sl || state.left_sl) { - return tr("L"); + return QStringLiteral("L"); } if (state.r || state.right_sr || state.left_sr) { - return tr("R"); + return QStringLiteral("R"); } if (state.zl) { - return tr("ZL"); + return QStringLiteral("ZL"); } if (state.zr) { - return tr("ZR"); + return QStringLiteral("ZR"); } if (state.left) { - return tr("Dpad_Left"); + return QStringLiteral("Dpad_Left"); } if (state.right) { - return tr("Dpad_Right"); + return QStringLiteral("Dpad_Right"); } if (state.up) { - return tr("Dpad_Up"); + return QStringLiteral("Dpad_Up"); } if (state.down) { - return tr("Dpad_Down"); + return QStringLiteral("Dpad_Down"); } if (state.stick_l) { - return tr("Left_Stick"); + return QStringLiteral("Left_Stick"); } if (state.stick_r) { - return tr("Right_Stick"); + return QStringLiteral("Right_Stick"); } if (state.minus) { - return tr("Minus"); + return QStringLiteral("Minus"); } if (state.plus) { - return tr("Plus"); + return QStringLiteral("Plus"); } return tr("Invalid"); } |