sdl2: Slow the mouse a bit

Fixes Furyhunter/SRB2#1 but probably makes mouse speed too slow on
Linux. Whatever.
This commit is contained in:
Ronald Kinard 2014-07-25 22:55:48 -05:00
parent c5c5d3918e
commit e3c7bc0637

View file

@ -848,8 +848,8 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
} }
else else
{ {
event.data2 = (evt.xrel) * (wwidth / realwidth) * 2; event.data2 = (evt.xrel) * (wwidth / realwidth);
event.data3 = -evt.yrel * (wheight / realheight) * 2; event.data3 = -evt.yrel * (wheight / realheight);
} }
event.type = ev_mouse; event.type = ev_mouse;