David
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
7 deletions
-
src/yuzu/configuration/configure_input_player.cpp
|
|
|
@ -301,13 +301,16 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_i |
|
|
|
}); |
|
|
|
} |
|
|
|
connect(analog_map_stick[analog_id], &QPushButton::clicked, [=] { |
|
|
|
QMessageBox::information(this, tr("Information"), |
|
|
|
tr("After pressing OK, first move your joystick horizontally, " |
|
|
|
"and then vertically.")); |
|
|
|
HandleClick( |
|
|
|
analog_map_stick[analog_id], |
|
|
|
[=](const Common::ParamPackage& params) { analogs_param[analog_id] = params; }, |
|
|
|
InputCommon::Polling::DeviceType::Analog); |
|
|
|
if (QMessageBox::information( |
|
|
|
this, tr("Information"), |
|
|
|
tr("After pressing OK, first move your joystick horizontally, " |
|
|
|
"and then vertically."), |
|
|
|
QMessageBox::Ok | QMessageBox::Cancel) == QMessageBox::Ok) { |
|
|
|
HandleClick( |
|
|
|
analog_map_stick[analog_id], |
|
|
|
[=](const Common::ParamPackage& params) { analogs_param[analog_id] = params; }, |
|
|
|
InputCommon::Polling::DeviceType::Analog); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|