yuzu: config: Fix mapping issues with the enter key

This commit is contained in:
Narr the Reg
2022-02-15 11:03:46 -06:00
parent d81cdd9114
commit 1e21f5f872
2 changed files with 6 additions and 0 deletions

View File

@ -1332,6 +1332,9 @@ void ConfigureInputPlayer::HandleClick(
QPushButton* button, std::size_t button_id,
std::function<void(const Common::ParamPackage&)> new_input_setter,
InputCommon::Polling::InputType type) {
if (timeout_timer->isActive()) {
return;
}
if (button == ui->buttonMotionLeft || button == ui->buttonMotionRight) {
button->setText(tr("Shake!"));
} else {