• Sam Lantinga's avatar
    Date: Sun, 07 Dec 2008 13:35:23 +0100 · 61a7bca8
    Sam Lantinga authored
    From: Couriersud
    Subject: SDL: Mouse last_x, last_y into SDL_Mouse
    
    the attached diff moves the static vars last_x and last_y into
    SDL_Mouse. These, as far as I understand it, should be tied to the
    individual mouse.
    
    The patch also makes the code check for out of window conditions of
    mouse->x,y when relative movements are passed to MouseSendMotion.
    
    Also attached is the latest DirectFB code (dfb20081208) supporting
    multiple mice and keyboards. This works quite well with sdlmame now. It
    however needs more testing with different directfb configurations.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403322
    61a7bca8
SDL_mouse.c 18.6 KB