mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 11:50:50 +00:00
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:
parent
c5c5d3918e
commit
e3c7bc0637
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue