src/events/SDL_mouse.c
changeset 6673 78f18a929123
parent 6667 243bfb5c31d6
child 6675 20f3cdea0fd2
     1.1 --- a/src/events/SDL_mouse.c	Sat Nov 10 10:37:38 2012 -0800
     1.2 +++ b/src/events/SDL_mouse.c	Mon Nov 12 12:14:44 2012 -0800
     1.3 @@ -118,7 +118,7 @@
     1.4  
     1.5  /* Check to see if we need to synthesize focus events */
     1.6  static SDL_bool
     1.7 -SDL_UpdateMouseFocus(SDL_Window * window, int x, int y, Uint8 buttonstate)
     1.8 +SDL_UpdateMouseFocus(SDL_Window * window, int x, int y, Uint32 buttonstate)
     1.9  {
    1.10      SDL_Mouse *mouse = SDL_GetMouse();
    1.11      int w, h;
    1.12 @@ -264,7 +264,7 @@
    1.13      SDL_Mouse *mouse = SDL_GetMouse();
    1.14      int posted;
    1.15      Uint32 type;
    1.16 -    Uint8 buttonstate = mouse->buttonstate;
    1.17 +    Uint32 buttonstate = mouse->buttonstate;
    1.18  
    1.19      /* Figure out which event to perform */
    1.20      switch (state) {
    1.21 @@ -345,7 +345,7 @@
    1.22  {
    1.23  }
    1.24  
    1.25 -Uint8
    1.26 +Uint32
    1.27  SDL_GetMouseState(int *x, int *y)
    1.28  {
    1.29      SDL_Mouse *mouse = SDL_GetMouse();
    1.30 @@ -359,7 +359,7 @@
    1.31      return mouse->buttonstate;
    1.32  }
    1.33  
    1.34 -Uint8
    1.35 +Uint32
    1.36  SDL_GetRelativeMouseState(int *x, int *y)
    1.37  {
    1.38      SDL_Mouse *mouse = SDL_GetMouse();