src/video/android/SDL_androidmouse.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 05 Jun 2018 12:46:11 -0700
changeset 12007 ecfb6a793c30
parent 11811 5d94cb6b24d3
child 12025 39a92b19f99e
permissions -rw-r--r--
Add Android support for relative mouse mode to SDL.
joseba@9438
     1
/*
joseba@9438
     2
  Simple DirectMedia Layer
slouken@11811
     3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
joseba@9438
     4
joseba@9438
     5
  This software is provided 'as-is', without any express or implied
joseba@9438
     6
  warranty.  In no event will the authors be held liable for any damages
joseba@9438
     7
  arising from the use of this software.
joseba@9438
     8
joseba@9438
     9
  Permission is granted to anyone to use this software for any purpose,
joseba@9438
    10
  including commercial applications, and to alter it and redistribute it
joseba@9438
    11
  freely, subject to the following restrictions:
joseba@9438
    12
joseba@9438
    13
  1. The origin of this software must not be misrepresented; you must not
joseba@9438
    14
     claim that you wrote the original software. If you use this software
joseba@9438
    15
     in a product, an acknowledgment in the product documentation would be
joseba@9438
    16
     appreciated but is not required.
joseba@9438
    17
  2. Altered source versions must be plainly marked as such, and must not be
joseba@9438
    18
     misrepresented as being the original software.
joseba@9438
    19
  3. This notice may not be removed or altered from any source distribution.
joseba@9438
    20
*/
joseba@9438
    21
slouken@11382
    22
#ifndef SDL_androidmouse_h_
slouken@11382
    23
#define SDL_androidmouse_h_
joseba@9438
    24
joseba@9438
    25
#include "SDL_androidvideo.h"
joseba@9438
    26
philipp@10051
    27
extern void Android_InitMouse(void);
slouken@12007
    28
extern void Android_OnMouse(int button, int action, float x, float y, SDL_bool relative);
joseba@9438
    29
slouken@11382
    30
#endif /* SDL_androidmouse_h_ */
joseba@9438
    31
joseba@9438
    32
/* vi: set ts=4 sw=4 expandtab: */