mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 10:57:59 -05:00
input_common: Support SDL toggle buttons
This commit is contained in:
@ -149,8 +149,9 @@ QString ButtonToText(const Common::ParamPackage& param) {
|
||||
|
||||
if (param.Has("button")) {
|
||||
const QString button_str = QString::fromStdString(param.Get("button", ""));
|
||||
const QString toggle = QString::fromStdString(param.Get("toggle", false) ? "~" : "");
|
||||
|
||||
return QObject::tr("Button %1").arg(button_str);
|
||||
return QObject::tr("%1Button %2").arg(toggle, button_str);
|
||||
}
|
||||
|
||||
if (param.Has("motion")) {
|
||||
|
Reference in New Issue
Block a user