From e3c7bc0637c8d7bb8240384a70c86b5168526a01 Mon Sep 17 00:00:00 2001 From: Ronald Kinard Date: Fri, 25 Jul 2014 22:55:48 -0500 Subject: [PATCH] sdl2: Slow the mouse a bit Fixes Furyhunter/SRB2#1 but probably makes mouse speed too slow on Linux. Whatever. --- src/sdl2/i_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl2/i_video.c b/src/sdl2/i_video.c index 09491b0e8..21c60cb22 100644 --- a/src/sdl2/i_video.c +++ b/src/sdl2/i_video.c @@ -848,8 +848,8 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt) } else { - event.data2 = (evt.xrel) * (wwidth / realwidth) * 2; - event.data3 = -evt.yrel * (wheight / realheight) * 2; + event.data2 = (evt.xrel) * (wwidth / realwidth); + event.data3 = -evt.yrel * (wheight / realheight); } event.type = ev_mouse;