mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-14 04:51:40 +00:00
DolphinQt: Make Calibration autocomplete when data is "sensible" and stick is returned to neutral position.
This commit is contained in:
parent
fa9f71e482
commit
6a0963908d
4 changed files with 45 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue