91418c79ab
Add an option --otg to run scrcpy with only physical keyboard and mouse simulation (HID over AOA), without mirroring and without requiring adb. To avoid adding complexity into the scrcpy initialization and screen implementation, OTG mode is implemented totally separately, with a separate window. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
5 lines
290 B
C
5 lines
290 B
C
#define EVENT_NEW_FRAME SDL_USEREVENT
|
|
#define EVENT_STREAM_STOPPED (SDL_USEREVENT + 1)
|
|
#define EVENT_SERVER_CONNECTION_FAILED (SDL_USEREVENT + 2)
|
|
#define EVENT_SERVER_CONNECTED (SDL_USEREVENT + 3)
|
|
#define EVENT_USB_DEVICE_DISCONNECTED (SDL_USEREVENT + 4)
|