diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-06-24 18:22:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 18:22:48 -0400 |
| commit | 43c156084bbeeaa3bd7c06b5e4f3118e335f777d (patch) | |
| tree | b62f5bcd114796794d182422569f7f438e631877 /Source/Core/InputCommon/ControllerInterface/MappingCommon.h | |
| parent | e9b57393a6531c946f9dd43674559b32465b2727 (diff) | |
| parent | 6a0963908dbb316f00818822065e26777621bdcc (diff) | |
Merge pull request #13759 from jordan-woyak/calibrate-autocomplete
DolphinQt: Make Calibration autocomplete when data is "sensible" and stick is returned to neutral position.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/MappingCommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/MappingCommon.h b/Source/Core/InputCommon/ControllerInterface/MappingCommon.h index a72549c458..838afcc2a7 100644 --- a/Source/Core/InputCommon/ControllerInterface/MappingCommon.h +++ b/Source/Core/InputCommon/ControllerInterface/MappingCommon.h @@ -85,6 +85,10 @@ public: // Used to update the UI to encourage the user to click the "Finish" button. bool IsCalibrationDataSensible() const; + // Returns true when the calibration data seems sensible, + // and the input then approaches the center position. + bool IsComplete() const; + // Grabs the calibration value at the provided angle. // Used to render the calibration in the UI while it's in progress. ControlState GetCalibrationRadiusAtAngle(double angle) const; |
