input: sdl2: Fix relative mode to match SDL1 behavior
commit2d968ffbae6b7899064f9f86f8508d9c19021e39
authorCole Robinson <crobinso@redhat.com>
Tue, 1 Apr 2014 20:37:11 +0000 (1 16:37 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Apr 2014 10:19:16 +0000 (11 12:19 +0200)
treeac2f3a64ea475d0efff239f406ee008b59e6d892
parentafbc0dd649809b34583c52f2bc99b5c82c06fd53
input: sdl2: Fix relative mode to match SDL1 behavior

Right now relative mode accelerates too fast, and has the 'invisible wall'
problem. SDL2 added an explicit API to handle this use case, so let's use
it.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/sdl2.c