src/video/android/SDL_androidmouse.c
changeset 10051 2c6c612344b5
parent 10049 0052384f717f
child 10295 b75ad23f8811
     1.1 --- a/src/video/android/SDL_androidmouse.c	Tue Jan 12 22:22:24 2016 +0100
     1.2 +++ b/src/video/android/SDL_androidmouse.c	Tue Jan 12 22:23:00 2016 +0100
     1.3 @@ -40,9 +40,15 @@
     1.4  #define BUTTON_BACK 8
     1.5  #define BUTTON_FORWARD 16
     1.6  
     1.7 +static Uint8 SDLButton;
     1.8 +
     1.9 +void
    1.10 +Android_InitMouse(void)
    1.11 +{
    1.12 +    SDLButton = 0;
    1.13 +}
    1.14 +
    1.15  void Android_OnMouse( int androidButton, int action, float x, float y) {
    1.16 -    static Uint8 SDLButton;
    1.17 -
    1.18      if (!Android_Window) {
    1.19          return;
    1.20      }