From 69eed0d99caea86486206f8d45705827f7a6fe19 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Sep 2015 14:29:17 +0300 Subject: Add mouse move simulation. After char id to name mapping received, simulate mouse move. --- src/gui/sdlinput.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/sdlinput.h') diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index fb1c2e924..4e46b7356 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -120,6 +120,8 @@ class SDLInput final void simulateMouseClick(const int x, const int y, const MouseButtonT button); + void simulateMouseMove(); + protected: /** * Converts a mouse button from SDL to a Guichan mouse button @@ -149,4 +151,6 @@ class SDLInput final bool mMouseInWindow; }; +extern SDLInput *guiInput; /**< GUI input */ + #endif // GUI_SDLINPUT_H -- cgit v1.2.3-70-g09d2