mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Add SDL_IsTablet() to Android and iOS SDL.
This commit is contained in:
parent
b09b25f6e4
commit
109544ca04
6 changed files with 52 additions and 1 deletions
|
@ -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__
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue