mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
ControllerEmu: Zero the center of a ReshapableInput when calibrating
This commit is contained in:
parent
99cf9a57fc
commit
e5683988c0
@ -777,7 +777,10 @@ void CalibrationWidget::SetupActions()
|
||||
const auto center_action = new QAction(tr("Center and Calibrate"), this);
|
||||
const auto reset_action = new QAction(tr("Reset"), this);
|
||||
|
||||
connect(calibrate_action, &QAction::triggered, [this]() { StartCalibration(); });
|
||||
connect(calibrate_action, &QAction::triggered, [this]() {
|
||||
StartCalibration();
|
||||
m_input.SetCenter({0, 0});
|
||||
});
|
||||
connect(center_action, &QAction::triggered, [this]() {
|
||||
StartCalibration();
|
||||
m_is_centering = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user