diff options
| author | 2022-01-16 18:03:11 -0600 | |
|---|---|---|
| committer | 2022-01-16 20:37:34 -0600 | |
| commit | 9eab07f86370eb97eb6e87624163ae07fb055ac9 (patch) | |
| tree | 1a6a123331324404cd64dd6622ac191a76e6bd4e /src/input_common/drivers/mouse.h | |
| parent | Merge pull request #7713 from gidoly/patch-3 (diff) | |
| download | yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.tar.gz yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.tar.xz yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.zip | |
input_common: Reintroduce motion from mouse and use button names
Diffstat (limited to 'src/input_common/drivers/mouse.h')
| -rw-r--r-- | src/input_common/drivers/mouse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.h index 040446178..c5833b8ed 100644 --- a/src/input_common/drivers/mouse.h +++ b/src/input_common/drivers/mouse.h | |||
| @@ -69,6 +69,8 @@ private: | |||
| 69 | void UpdateThread(std::stop_token stop_token); | 69 | void UpdateThread(std::stop_token stop_token); |
| 70 | void StopPanning(); | 70 | void StopPanning(); |
| 71 | 71 | ||
| 72 | Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; | ||
| 73 | |||
| 72 | Common::Vec2<int> mouse_origin; | 74 | Common::Vec2<int> mouse_origin; |
| 73 | Common::Vec2<int> last_mouse_position; | 75 | Common::Vec2<int> last_mouse_position; |
| 74 | Common::Vec2<float> last_mouse_change; | 76 | Common::Vec2<float> last_mouse_change; |