1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-11 00:36:35 -05:00

core/hid: Improve accuary of mouse implementation

This commit is contained in:
german77
2021-11-14 21:28:38 -06:00
committed by Narr the Reg
parent 654d76e79e
commit f4e5f89e6f
14 changed files with 79 additions and 48 deletions

View File

@@ -72,6 +72,7 @@ private:
Common::Vec2<int> mouse_origin;
Common::Vec2<int> last_mouse_position;
Common::Vec2<float> last_mouse_change;
Common::Vec2<int> wheel_position;
bool button_pressed;
int mouse_panning_timout{};
std::jthread update_thread;