diff options
| author | 2023-05-09 09:47:29 -0400 | |
|---|---|---|
| committer | 2023-05-09 09:47:29 -0400 | |
| commit | 5890b96ce5d17e3702805ebfc1601a45295c94d0 (patch) | |
| tree | db8ea76449236b9899e05b34f68000e4c603e64a /src/core/hid/emulated_controller.h | |
| parent | Merge pull request #10206 from FernandoS27/astc-3d (diff) | |
| parent | yuzu: Make 3d cube with joycon shape (diff) | |
| download | yuzu-5890b96ce5d17e3702805ebfc1601a45295c94d0.tar.gz yuzu-5890b96ce5d17e3702805ebfc1601a45295c94d0.tar.xz yuzu-5890b96ce5d17e3702805ebfc1601a45295c94d0.zip | |
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: | |||
| 290 | */ | 290 | */ |
| 291 | void SetMotionParam(std::size_t index, Common::ParamPackage param); | 291 | void SetMotionParam(std::size_t index, Common::ParamPackage param); |
| 292 | 292 | ||
| 293 | /// Auto calibrates the current motion devices | ||
| 294 | void StartMotionCalibration(); | ||
| 295 | |||
| 293 | /// Returns the latest button status from the controller with parameters | 296 | /// Returns the latest button status from the controller with parameters |
| 294 | ButtonValues GetButtonsValues() const; | 297 | ButtonValues GetButtonsValues() const; |
| 295 | 298 | ||