mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-21 13:54:29 +01:00
This is particularly important to react to server socket disconnection since video and audio may be disabled. PR #4868 <https://github.com/Genymobile/scrcpy/pull/4868>
11 lines
615 B
C
11 lines
615 B
C
#define SC_EVENT_NEW_FRAME SDL_USEREVENT
|
|
#define SC_EVENT_DEVICE_DISCONNECTED (SDL_USEREVENT + 1)
|
|
#define SC_EVENT_SERVER_CONNECTION_FAILED (SDL_USEREVENT + 2)
|
|
#define SC_EVENT_SERVER_CONNECTED (SDL_USEREVENT + 3)
|
|
#define SC_EVENT_USB_DEVICE_DISCONNECTED (SDL_USEREVENT + 4)
|
|
#define SC_EVENT_DEMUXER_ERROR (SDL_USEREVENT + 5)
|
|
#define SC_EVENT_RECORDER_ERROR (SDL_USEREVENT + 6)
|
|
#define SC_EVENT_SCREEN_INIT_SIZE (SDL_USEREVENT + 7)
|
|
#define SC_EVENT_TIME_LIMIT_REACHED (SDL_USEREVENT + 8)
|
|
#define SC_EVENT_CONTROLLER_ERROR (SDL_USEREVENT + 9)
|