|
|
@ -152,9 +152,9 @@ ConfigureInput::ConfigureInput(QWidget* parent)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
connect(analog_map_stick[analog_id], &QPushButton::released, [=]() {
|
|
|
|
connect(analog_map_stick[analog_id], &QPushButton::released, [=]() {
|
|
|
|
QMessageBox::information(
|
|
|
|
QMessageBox::information(this, tr("Information"),
|
|
|
|
this, "Information",
|
|
|
|
tr("After pressing OK, first move your joystick horizontally, "
|
|
|
|
"After pressing OK, first move your joystick horizontally, and then vertically.");
|
|
|
|
"and then vertically."));
|
|
|
|
handleClick(
|
|
|
|
handleClick(
|
|
|
|
analog_map_stick[analog_id],
|
|
|
|
analog_map_stick[analog_id],
|
|
|
|
[=](const Common::ParamPackage& params) { analogs_param[analog_id] = params; },
|
|
|
|
[=](const Common::ParamPackage& params) { analogs_param[analog_id] = params; },
|
|
|
|