diff options
| author | 2023-06-27 11:21:28 -0400 | |
|---|---|---|
| committer | 2023-06-27 11:21:28 -0400 | |
| commit | 20111c86b65afef07923fdb2f15867b7f8c69e32 (patch) | |
| tree | 85e51391c820e75f40a7e4d8dd9b882d7f5d5b36 /src/input_common/drivers/mouse.h | |
| parent | Merge pull request #10679 from zeltermann/wakelock-reason (diff) | |
| parent | input_common: Redesign mouse panning (diff) | |
| download | yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.gz yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.tar.xz yuzu-20111c86b65afef07923fdb2f15867b7f8c69e32.zip | |
Merge pull request #10495 from bm01/master
input_common: Redesign mouse panning
Diffstat (limited to 'src/input_common/drivers/mouse.h')
| -rw-r--r-- | src/input_common/drivers/mouse.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.h index b872c7a0f..0e8edcce1 100644 --- a/src/input_common/drivers/mouse.h +++ b/src/input_common/drivers/mouse.h | |||
| @@ -98,7 +98,6 @@ private: | |||
| 98 | void UpdateThread(std::stop_token stop_token); | 98 | void UpdateThread(std::stop_token stop_token); |
| 99 | void UpdateStickInput(); | 99 | void UpdateStickInput(); |
| 100 | void UpdateMotionInput(); | 100 | void UpdateMotionInput(); |
| 101 | void StopPanning(); | ||
| 102 | 101 | ||
| 103 | Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; | 102 | Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; |
| 104 | 103 | ||
| @@ -108,7 +107,6 @@ private: | |||
| 108 | Common::Vec3<float> last_motion_change; | 107 | Common::Vec3<float> last_motion_change; |
| 109 | Common::Vec2<int> wheel_position; | 108 | Common::Vec2<int> wheel_position; |
| 110 | bool button_pressed; | 109 | bool button_pressed; |
| 111 | int mouse_panning_timeout{}; | ||
| 112 | std::jthread update_thread; | 110 | std::jthread update_thread; |
| 113 | }; | 111 | }; |
| 114 | 112 | ||