summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorGravatar Narr the Reg2023-05-08 11:17:27 -0600
committerGravatar Narr the Reg2023-05-08 12:06:38 -0600
commit97bd6d641811cafc3ec99879fa53beda1a2334b5 (patch)
treeec3946ddaa935829006ceb2b46995fe493621dba /src/core/hid/emulated_controller.h
parentMerge pull request #10075 from Kelebek1/silence_nifm_spam (diff)
downloadyuzu-97bd6d641811cafc3ec99879fa53beda1a2334b5.tar.gz
yuzu-97bd6d641811cafc3ec99879fa53beda1a2334b5.tar.xz
yuzu-97bd6d641811cafc3ec99879fa53beda1a2334b5.zip
core: hid: Allow to calibrate gyro sensor
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h3
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