src/core/android/SDL_android.h
changeset 12242 df7260f149f2
parent 12152 cb129c06aa86
child 12255 d2e5d4520677
equal deleted inserted replaced
12241:f72836cfb92b 12242:df7260f149f2
    83 
    83 
    84 /* Video */
    84 /* Video */
    85 void Android_JNI_SuspendScreenSaver(SDL_bool suspend);
    85 void Android_JNI_SuspendScreenSaver(SDL_bool suspend);
    86 
    86 
    87 /* Touch support */
    87 /* Touch support */
       
    88 int Android_JNI_InitTouch(void);
       
    89 void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);
    88 int Android_JNI_GetTouchDeviceIds(int **ids);
    90 int Android_JNI_GetTouchDeviceIds(int **ids);
    89 void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);
       
    90 
    91 
    91 /* Threads */
    92 /* Threads */
    92 #include <jni.h>
    93 #include <jni.h>
    93 JNIEnv *Android_JNI_GetEnv(void);
    94 JNIEnv *Android_JNI_GetEnv(void);
    94 int Android_JNI_SetupThread(void);
    95 int Android_JNI_SetupThread(void);
   107 int Android_JNI_CreateCustomCursor(SDL_Surface *surface, int hot_x, int hot_y);
   108 int Android_JNI_CreateCustomCursor(SDL_Surface *surface, int hot_x, int hot_y);
   108 SDL_bool Android_JNI_SetCustomCursor(int cursorID);
   109 SDL_bool Android_JNI_SetCustomCursor(int cursorID);
   109 SDL_bool Android_JNI_SetSystemCursor(int cursorID);
   110 SDL_bool Android_JNI_SetSystemCursor(int cursorID);
   110 
   111 
   111 /* Relative mouse support */
   112 /* Relative mouse support */
   112 SDL_bool Android_JNI_SupportsRelativeMouse();
   113 SDL_bool Android_JNI_SupportsRelativeMouse(void);
   113 SDL_bool Android_JNI_SetRelativeMouseEnabled(SDL_bool enabled);
   114 SDL_bool Android_JNI_SetRelativeMouseEnabled(SDL_bool enabled);
       
   115 
       
   116 
       
   117 SDL_bool SDL_IsAndroidTablet(void);
       
   118 SDL_bool SDL_IsAndroidTV(void);
       
   119 SDL_bool SDL_IsChromebook(void);
       
   120 SDL_bool SDL_IsDeXMode(void);
   114 
   121 
   115 /* Ends C function definitions when using C++ */
   122 /* Ends C function definitions when using C++ */
   116 #ifdef __cplusplus
   123 #ifdef __cplusplus
   117 /* *INDENT-OFF* */
   124 /* *INDENT-OFF* */
   118 }
   125 }