252 Commits (aaf3869a544d6700032f0a834e047737f18fb145)

Author SHA1 Message Date
Romain Vimont eda44b6068 Fix controller cleanup
7 years ago
Romain Vimont ebccb9f6cc Add runtime option to render expired frames
7 years ago
Romain Vimont 8e66b33000 Add option to turn device screen off
7 years ago
Romain Vimont acc4dcd520 Disable server controller if --no-control
7 years ago
Romain Vimont ca767ba364 Group server params in a struct
7 years ago
Romain Vimont c8a6783494 Use positive options names internally
7 years ago
Romain Vimont 9712cb8123 Do not minimize on focus loss
7 years ago
Yu-Chen Lin 2a8a3e6ed5 Correct return value type in handle_event
7 years ago
Romain Vimont ec71a3f66a Use two sockets for video and control
7 years ago
Romain Vimont bfb86ca2c2 Simplify cleanup
7 years ago
Romain Vimont 5a431cdf9b Make server_connect_to() return a bool
7 years ago
Romain Vimont d2504f974c Fix indentation
7 years ago
Sebastian Krzyszkowiak b941854c73 Disable X11 compositor bypass
7 years ago
Sebastian Krzyszkowiak 068253a3a2 Fix mouse focus clickthrough
7 years ago
Romain Vimont f7efafd846 Explicitly pass control flag to input manager
7 years ago
Romain Vimont 6baed8a06f Do not init SDL video subsystem if no display
7 years ago
Romain Vimont dfed1b250e Replace SDL types by C99 standard types
7 years ago
Romain Vimont 8655ba7197 Add option to mirror in read-only
7 years ago
Romain Vimont 163cd36ccc Rename -n/--no-window to -N/--no-display
7 years ago
Romain Vimont 36191b7eec Avoid unnecessary call if display is disabled
7 years ago
Romain Vimont 33ccb1368f Extract event processing out of event_loop()
7 years ago
Romain Vimont aeda583a2c Update code style
7 years ago
Romain Vimont 89812e4eee Implement the --no-window flag
7 years ago
Romain Vimont e6e011baaf Add stream layer
7 years ago
Romain Vimont e7b7b083aa Store the recording request in a local bool
7 years ago
Romain Vimont 8aeb5c0e3c Fix cleanup order
7 years ago
Romain Vimont fff87095d9 Rename "frames" to "video_buffer"
7 years ago
Romain Vimont 0ed2373952 Support recording to MKV
7 years ago
Romain Vimont ee3cba57a8 Forward FFmpeg logs
7 years ago
Yu-Chen Lin eca82e09c3 app: add always_on_top
7 years ago
Romain Vimont 345f8858d3 Send frame meta only if recording is enabled
7 years ago
Romain Vimont 22bf0c19d6 Rename --output-file to --record
7 years ago
Romain Vimont d0e090e1f9 Reenable custom SDL signal handlers
7 years ago
Romain Vimont 27686e9361 Add recorder
7 years ago
Ivan Gorinov d706c5df39 Enable video output file, with pts set by server
7 years ago
Philipp Sandhaus af9808cf02 Add option to start in fullscreen
7 years ago
Romain Vimont 536b31829a Separate multi-words filenames by '_'
7 years ago
npes87184 66f45f9dae Support drag&drop a file to transfer it to device
7 years ago
npes87184 aa97eed24b installer -> file_handler
7 years ago
Grief cde0b3d248 Return non-zero value on connection loss
7 years ago
Romain Vimont caa9e30004 Add crop feature
7 years ago
Adonis Najimi e2a2973990 Drag and drop to install apk files from computer
8 years ago
Romain Vimont e3d0a59c80 Fix proc_show_touches warning
8 years ago
Romain Vimont 57eaf05289 Improve startup time when show_touches is enabled
8 years ago
Romain Vimont dd2a5c1ecf Disable "show touches" once window is closed
8 years ago
Romain Vimont 66ec252893 Add an option to enable "show touches"
8 years ago
Romain Vimont b13d25b9f4 Group scrcpy options into a struct
8 years ago
Romain Vimont f00c6c5b13 Disable custom SDL signal handlers
8 years ago
Romain Vimont 080df5eb5d Fix switch/case code style
8 years ago
Romain Vimont 8a3c6a3ae7 Remove useless argument
8 years ago
Romain Vimont 0b1e59186f Workaround continuous resizing on Windows/MacOS
8 years ago
Romain Vimont 2b3ed5bcdb Store serial in server instance
8 years ago
Romain Vimont ad6209f6ff Terminate the device process gracefully
8 years ago
Romain Vimont 9b056f5091 Replace SDL_net by custom implementation
8 years ago
Romain Vimont d977202224 Add Ctrl+i shortcut to enable/disable FPS counter
8 years ago
Romain Vimont 000ced9ba8 Refactor screencontrol to inputmanager
8 years ago
Romain Vimont 38e6682875 Add FPS counter
8 years ago
Romain Vimont 3ed80a1fac Define macros wrappers for logs
8 years ago
Romain Vimont eb09fefd43 Timeout the server socket connection
8 years ago
Romain Vimont 90a46b4c45 Improve startup time
8 years ago
Romain Vimont 523097eadf Provide decoder_init()
8 years ago
Romain Vimont 4662198261 Do not release TCP sockets while still in use
8 years ago
Romain Vimont fe21d9dfb5 Move frame updating to screen.c
8 years ago
Romain Vimont 127e56780a Fix deadlock on exit if SKIP_FRAMES disabled
8 years ago
Romain Vimont 629c296207 Move frame swapping logic to frame.c
8 years ago
Romain Vimont 0d7f050389 Unlock mutex on screen update failure
8 years ago
Romain Vimont e8dfb723af Move control-related code to screencontrol.c
8 years ago
Romain Vimont e1749a0c09 Remove the "adb reverse" tunnel immediately
8 years ago
Romain Vimont 3b06e7d500 Move device-related code to device.c
8 years ago
Romain Vimont 28c5cc030b Move server-related code to server.c
8 years ago
Romain Vimont 6c578b5caa Move screen-related code to screen.c
8 years ago
Romain Vimont ffae15e36a Rename control to controller
8 years ago
Romain Vimont 7b7fd77134 Add missing static
8 years ago
Romain Vimont f39de46a39 Add delay before stopping server
8 years ago
Romain Vimont cb1428223f Log user request to quit
8 years ago
Romain Vimont 8d30d40b79 Make SKIP_FRAMES a compilation flag
8 years ago
Romain Vimont 71c2bfdd22 Parse XPM without SDL_image
8 years ago
Romain Vimont f22d4decca Enable mouse focus clickthrough only if available
8 years ago
Romain Vimont 52c89c7afb Add window icon
8 years ago
Romain Vimont 5eb91a4ca7 Fix scrcpy() return value
8 years ago
Romain Vimont 69a359c7f4 Refactor actions calls
8 years ago
Romain Vimont d73dee9833 fixup! Handle all shortcuts in the same function
8 years ago
Romain Vimont a139509f11 Turn screen on on right-click
8 years ago
Romain Vimont deba69d022 Handle all shortcuts in the same function
8 years ago
Romain Vimont 7f6a565401 Extract shortcut actions to separate functions
8 years ago
Romain Vimont f8ad007a28 Move switch fullscreen logs
8 years ago
Romain Vimont 6fe7b84629 Add shortcuts for physical keys
8 years ago
Romain Vimont ca44585f96 Do not send simple mouse move events
8 years ago
Romain Vimont 79b28eb68f Enable mouse focus clickthrough
8 years ago
Romain Vimont 6b546a87ab Add bit-rate command-line option
8 years ago
Romain Vimont 2683fa20ed Add debug log for shortcuts
8 years ago
Romain Vimont 274e1ac9ec Fix rotation bug in fullscreen mode on X11
8 years ago
Romain Vimont ee93f3f23a Rename maximum_size to max_size
8 years ago
Romain Vimont 60b2f2ca64 Indent switch blocks content
8 years ago
Romain Vimont 89f6a3cfe7 Handle resized video stream
8 years ago
Romain Vimont 879941355d Swap position/point names
8 years ago
Romain Vimont 2aa15db210 Add shortcut to resize to ratio 1:1
8 years ago
Romain Vimont ab2c3de9f5 Capture all Ctrl events
8 years ago
Romain Vimont 2c35220618 Rename screen -> scrcpy -> main
8 years ago
Romain Vimont de106747b6 Improve main() error handling
8 years ago
Romain Vimont 37d88b8a6a Use SDL_bool return type instead of int
8 years ago
Romain Vimont 54d9148a36 Initial commit
8 years ago