Added events for dynamically connecting and disconnecting displays, with an iOS implementation

This commit is contained in:
Sam Lantinga
2020-10-08 16:42:20 -07:00
parent cd703b5628
commit 76980e30f2
20 changed files with 91 additions and 25 deletions

View File

@@ -175,7 +175,9 @@ typedef enum
typedef enum
{
SDL_DISPLAYEVENT_NONE, /**< Never used */
SDL_DISPLAYEVENT_ORIENTATION /**< Display orientation has changed to data1 */
SDL_DISPLAYEVENT_ORIENTATION, /**< Display orientation has changed to data1 */
SDL_DISPLAYEVENT_CONNECTED, /**< Display has been added to the system */
SDL_DISPLAYEVENT_DISCONNECTED, /**< Display has been removed from the system */
} SDL_DisplayEventID;
typedef enum