added getter for mouse emulation mode
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -1200,6 +1200,10 @@ void SDLCALL SDL_ANDROID_SetMouseEmulationMode(
|
||||
}
|
||||
}
|
||||
|
||||
int SDLCALL SDL_ANDROID_GetMouseEmulationMode() {
|
||||
return relativeMovement;
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int leftClickMethod;
|
||||
|
||||
Reference in New Issue
Block a user