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

This commit is contained in:
Sam Lantinga committed 2020-10-08 16:42:20 -07:00
1 parent cd703b5628
commit 76980e30f2
20 files changed
+91 -25

No files matched your search

+3 -1
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