Merge branch 'sdl_android' of github.com:pelya/commandergenius into sdl_android

This commit is contained in:
Gerhard Stein
2017-01-29 19:28:08 +01:00
2 changed files with 6 additions and 0 deletions

View File

@@ -148,6 +148,8 @@ extern DECLSPEC void SDLCALL SDL_ANDROID_SetMouseEmulationMode(
int forceHardwareMouse, int showScreenUnderFinger,
int fingerHover, int fingerHoverJitterFilter, int generateSubframeTouchEvents
);
extern DECLSPEC int SDLCALL SDL_ANDROID_GetMouseEmulationMode();
#ifdef __cplusplus
}

View File

@@ -1200,6 +1200,10 @@ void SDLCALL SDL_ANDROID_SetMouseEmulationMode(
}
}
int SDLCALL SDL_ANDROID_GetMouseEmulationMode() {
return relativeMovement;
}
typedef struct
{
int leftClickMethod;