summaryrefslogtreecommitdiff
path: root/bsp/simulator/drivers
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-03-20 16:16:16 +0800
committerGrissiom <[email protected]>2013-03-20 16:16:16 +0800
commit5f63189b3b258190100015a880deb268a7ce5a9f (patch)
tree8dbc1f8732981d855c50e62dfd16b0fec7673d3f /bsp/simulator/drivers
parente4e938dc8e7f09db1ba178363aebcbdf75fab548 (diff)
bsp/simulator: enable mouse motion track in SDL
Tested OK in RTGUI repo.
Diffstat (limited to 'bsp/simulator/drivers')
-rwxr-xr-xbsp/simulator/drivers/sdl_fb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsp/simulator/drivers/sdl_fb.c b/bsp/simulator/drivers/sdl_fb.c
index 53779808ca..d7ebbc8245 100755
--- a/bsp/simulator/drivers/sdl_fb.c
+++ b/bsp/simulator/drivers/sdl_fb.c
@@ -184,7 +184,6 @@ static void *sdl_loop(void *lpParam)
switch (event.type)
{
case SDL_MOUSEMOTION:
-#if 0
{
struct rtgui_event_mouse emouse;
emouse.parent.type = RTGUI_EVENT_MOUSE_MOTION;
@@ -200,7 +199,6 @@ static void *sdl_loop(void *lpParam)
/* send event to server */
rtgui_server_post_event(&emouse.parent, sizeof(struct rtgui_event_mouse));
}
-#endif
break;
case SDL_MOUSEBUTTONDOWN: