From 9eab07f86370eb97eb6e87624163ae07fb055ac9 Mon Sep 17 00:00:00 2001 From: german77 Date: Sun, 16 Jan 2022 18:03:11 -0600 Subject: input_common: Reintroduce motion from mouse and use button names --- src/input_common/drivers/mouse.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input_common/drivers/mouse.h') 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: void UpdateThread(std::stop_token stop_token); void StopPanning(); + Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; + Common::Vec2 mouse_origin; Common::Vec2 last_mouse_position; Common::Vec2 last_mouse_change; -- cgit v1.2.3