mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
DolphinQt/InputCommon: Move some calibration logic to InputCommon and make the "Calibrate" button also map inputs.
This commit is contained in:
@ -152,7 +152,7 @@ QGroupBox* MappingWidget::CreateGroupBox(const QString& name, ControllerEmu::Con
|
||||
if (need_calibration)
|
||||
{
|
||||
const auto calibrate =
|
||||
new CalibrationWidget(*static_cast<ControllerEmu::ReshapableInput*>(group),
|
||||
new CalibrationWidget(*this, *static_cast<ControllerEmu::ReshapableInput*>(group),
|
||||
*static_cast<ReshapableInputIndicator*>(indicator));
|
||||
|
||||
form_layout->addRow(calibrate);
|
||||
|
Reference in New Issue
Block a user