mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 04:17:18 +00:00
Add SDL_IsTablet() to Android and iOS SDL.
This commit is contained in:
@@ -174,6 +174,15 @@ extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
|
||||
|
||||
#endif /* __ANDROID__ */
|
||||
|
||||
#if defined(__ANDROID__) || defined(__IPHONEOS__)
|
||||
|
||||
/**
|
||||
\brief Return true if the current device is a tablet.
|
||||
*/
|
||||
extern DECLSPEC SDL_bool SDLCALL SDL_IsTablet(void);
|
||||
|
||||
#endif
|
||||
|
||||
/* Platform specific functions for WinRT */
|
||||
#if defined(__WINRT__) && __WINRT__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user