• Sam Lantinga's avatar
    Date: Sat, 06 Dec 2008 15:27:00 +0100 · 21f72458
    Sam Lantinga authored
    From: Couriersud
    Subject: SDL: Relative mouse movements
    
    The patch below will reenable processing of relative mouse movements.
    The DirectFB drivers generates those in "grabbed" mode. These ensure,
    that even in fullscreen mode relative movements are reported. SDLMAME
    depends on this for games with trackballs.
    
    Looking at the code I ask myself whether relative movements should be
    handled in the drivers (x11, directfb). Both x11 and directfb are able
    to report relative movements. This would leave it to the driver to use
    the most appropriate method for relative movements when at the border of
    a fullscreen window or being "grabbed".
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403303
    21f72458
SDL_mouse.c 19 KB