input_common: Reintroduce motion from mouse and use button names
This commit is contained in:
parent
480b03b645
commit
9eab07f863
5 changed files with 64 additions and 1 deletions
|
@ -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<int> mouse_origin;
|
||||
Common::Vec2<int> last_mouse_position;
|
||||
Common::Vec2<float> last_mouse_change;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue