diff options
| author | 2020-09-02 19:59:34 -0500 | |
|---|---|---|
| committer | 2020-09-04 21:48:13 -0500 | |
| commit | 0774b17846fc7bd12bfe329fbaed6524d96c81cb (patch) | |
| tree | 66322913f15800647404a33051d99454546eaa11 /src/input_common/udp/udp.cpp | |
| parent | configure_input_player: Show/hide motion buttons based on the controller (diff) | |
| download | yuzu-0774b17846fc7bd12bfe329fbaed6524d96c81cb.tar.gz yuzu-0774b17846fc7bd12bfe329fbaed6524d96c81cb.tar.xz yuzu-0774b17846fc7bd12bfe329fbaed6524d96c81cb.zip | |
Remove RealMotionDevice
Diffstat (limited to 'src/input_common/udp/udp.cpp')
| -rw-r--r-- | src/input_common/udp/udp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/udp/udp.cpp b/src/input_common/udp/udp.cpp index 4b347e47e..03bae5752 100644 --- a/src/input_common/udp/udp.cpp +++ b/src/input_common/udp/udp.cpp | |||
| @@ -29,7 +29,7 @@ private: | |||
| 29 | class UDPMotionDevice final : public Input::MotionDevice { | 29 | class UDPMotionDevice final : public Input::MotionDevice { |
| 30 | public: | 30 | public: |
| 31 | explicit UDPMotionDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} | 31 | explicit UDPMotionDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} |
| 32 | std::tuple<Common::Vec3<float>, Common::Vec3<float>> GetStatus() const override { | 32 | Input::MotionStatus GetStatus() const override { |
| 33 | std::lock_guard guard(status->update_mutex); | 33 | std::lock_guard guard(status->update_mutex); |
| 34 | return status->motion_status; | 34 | return status->motion_status; |
| 35 | } | 35 | } |