diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 4e8f515265..e6fbe64d03 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -666,6 +666,13 @@ int VideoDriver_SDL::PollEvent() } #endif break; +#ifdef __ANDROID__ + case SDL_JOYBALLMOTION: + if (ev.jball.which == 0 && ev.jball.ball == 1) { + _multitouch_second_point.x = ev.jball.xrel; + _multitouch_second_point.y = ev.jball.yrel; + } +#endif /* not __ANDROID__ */ #ifndef __ANDROID__ case SDL_VIDEORESIZE: { int w = max(ev.resize.w, 64); @@ -673,11 +680,6 @@ int VideoDriver_SDL::PollEvent() CreateMainSurface(w, h); break; } - case SDL_JOYBALLMOTION: - if (evt.jball.which == 0 && evt.jball.ball == 1) { - _multitouch_second_point.x = evt.jball.xrel; - _multitouch_second_point.y = evt.jball.yrel; - } #endif /* not __ANDROID__ */ case SDL_VIDEOEXPOSE: { /* Force a redraw of the entire screen. Note diff --git a/todo.txt b/todo.txt index f9c9f19795..a1ac20fdc1 100644 --- a/todo.txt +++ b/todo.txt @@ -3,8 +3,6 @@ - Smallmap UI won't fit all FIRS industries. -- Put mouse cursor in the middle between touch points when zooming in and out. - - Add 'Goal' menu item somewhere to compact toolbar. - Misclicking station from orders dialog should hide the dialog for 3 times.