summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.h
diff options
context:
space:
mode:
authorGravatar german772022-01-16 18:03:11 -0600
committerGravatar german772022-01-16 20:37:34 -0600
commit9eab07f86370eb97eb6e87624163ae07fb055ac9 (patch)
tree1a6a123331324404cd64dd6622ac191a76e6bd4e /src/input_common/drivers/mouse.h
parentMerge pull request #7713 from gidoly/patch-3 (diff)
downloadyuzu-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.h2
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;