diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-09 09:47:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-09 09:47:29 -0400 |
| commit | 5890b96ce5d17e3702805ebfc1601a45295c94d0 (patch) | |
| tree | db8ea76449236b9899e05b34f68000e4c603e64a /src/core/hid/emulated_controller.h | |
| parent | 1f14b58315f807f62aeb31d0c23b859b501324b7 (diff) | |
| parent | e1838f51a3538fcbce6a43189b219df137d60f27 (diff) | |
Merge pull request #10203 from german77/calibration
core: hid: Allow to calibrate gyro sensor
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index fa4ad7fae..88fad2f56 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -290,6 +290,9 @@ public: */ void SetMotionParam(std::size_t index, Common::ParamPackage param); + /// Auto calibrates the current motion devices + void StartMotionCalibration(); + /// Returns the latest button status from the controller with parameters ButtonValues GetButtonsValues() const; |
