diff options
author | Lioncash <mathew1800@gmail.com> | 2021-12-14 03:09:28 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-12-14 03:22:02 +0100 |
commit | e05d2a70b24e550d67fcdd24aae7094ad41745f8 (patch) | |
tree | af5116d02b99366344c261df03cae992b2e96ae5 /src/core/hid/emulated_console.h | |
parent | common/input: Remove unnecessary returns (diff) | |
download | yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar.gz yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar.bz2 yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar.lz yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar.xz yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.tar.zst yuzu-e05d2a70b24e550d67fcdd24aae7094ad41745f8.zip |
Diffstat (limited to 'src/core/hid/emulated_console.h')
-rw-r--r-- | src/core/hid/emulated_console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.h index bb3d7ab90..3afd284d5 100644 --- a/src/core/hid/emulated_console.h +++ b/src/core/hid/emulated_console.h @@ -155,14 +155,14 @@ private: * Updates the motion status of the console * @param callback A CallbackStatus containing gyro and accelerometer data */ - void SetMotion(Common::Input::CallbackStatus callback); + void SetMotion(const Common::Input::CallbackStatus& callback); /** * Updates the touch status of the console * @param callback A CallbackStatus containing the touch position * @param index Finger ID to be updated */ - void SetTouch(Common::Input::CallbackStatus callback, std::size_t index); + void SetTouch(const Common::Input::CallbackStatus& callback, std::size_t index); /** * Triggers a callback that something has changed on the console status |