1051 Commits (0ee9e2ff51baa4826283b521053a383550b93ea1)

Author SHA1 Message Date
Romain Vimont 0ee9e2ff51 Expose function to find a USB device
4 years ago
Romain Vimont 1ab3692f3d Add util function to read USB descriptor string
4 years ago
Romain Vimont bbef426a4b Split USB initialization and connection
4 years ago
Romain Vimont 2114f48185 Find device with USB context
4 years ago
Romain Vimont b779eca8d3 Remove libusb_device field
4 years ago
Romain Vimont adda47b0f7 Move sc_usb out of sc_aoa
4 years ago
Romain Vimont 48e3ff284f Make serial mandatory for sc_usb
4 years ago
Romain Vimont 1d6f9952ee Extract USB handling from AOA
4 years ago
Romain Vimont d48d191262 Rename HAVE_AOA_HID to HAVE_USB
4 years ago
Romain Vimont 2762f5d183 Move AOA/HID code to usb/
4 years ago
Romain Vimont c996a6d462 Fix socket close race condition
4 years ago
Romain Vimont 8ea6fb1f0f Print version on stdout
4 years ago
Romain Vimont b546c33eff Do not print scrcpy version twice on --version
4 years ago
Romain Vimont 4817cadd09 Fix code style
4 years ago
Romain Vimont 02b5e87802 Slightly reduce lock usage
4 years ago
Romain Vimont 8e4d3beb01 Fix return value on adb commands error
4 years ago
Romain Vimont 9d2e00697e Use sc_ prefix for control_msg enums
4 years ago
Romain Vimont f289d206ea Disable more actions if --no-control
4 years ago
Romain Vimont ca516f4318 Refactor if-block in cli
4 years ago
Romain Vimont 5d6076bffd Move misplaced break statements
4 years ago
Romain Vimont e0bce1725b Fix header guard prefix
4 years ago
Romain Vimont 063d103dd6 Capture mouse on start for --hid-mouse
4 years ago
Romain Vimont 4bf9c057fe Extract relative mode check to an inline function
4 years ago
Romain Vimont 17c97820b2 Never forward capture keys
4 years ago
Romain Vimont 8c7f0ed5ea Fix warning message
4 years ago
Romain Vimont ac038f276e Add missing break statement
4 years ago
Romain Vimont 1f65b1bf87 Remove inline hint
4 years ago
Romain Vimont d41a46dc95 Handle libusb_get_device_descriptor() error
4 years ago
Romain Vimont 308a1f8192 Simplify error handling in sc_aoa_init()
4 years ago
Romain Vimont 241a587e61 Fix missing HID mouse destructor call
4 years ago
Romain Vimont 7e35bfe382 Refactor if-blocks
4 years ago
Romain Vimont 855819bbd8 Remove redundant control boolean
4 years ago
Romain Vimont 557daf280e Pass NULL controller if control is disabled
4 years ago
Romain Vimont 0b8e926330 Do not process finger events if no control
4 years ago
Romain Vimont 0ec3361bc9 Fix crash on --no-control
4 years ago
Romain Vimont 81ff7ebd06 Simplify event loop
4 years ago
Romain Vimont 1ffe312369 Handle file drop from input_manager
4 years ago
Romain Vimont ebef027c4f Do not return status for event handling
4 years ago
Romain Vimont 8e4e7d42f1 Fix leak on file pusher error
4 years ago
Romain Vimont b066dc0bbf Rename file_handler to sc_file_pusher
4 years ago
Romain Vimont 3a0ba7d0a4 Disable downsizing on error if V4L2 is enabled
4 years ago
Romain Vimont 75c5dc6859 Position and size the window on first frame
4 years ago
Romain Vimont fa30f9806a Move "show window" call on first frame
4 years ago
Romain Vimont 4fb61ac83d Fix screen comments
4 years ago
Romain Vimont 15bf27afdd Make auto-downsize on error optional
4 years ago
Romain Vimont b3ff1f6b3b Upgrade FFmpeg (5.0) for Windows 64-bit
4 years ago
Romain Vimont a2495c5ef1 Use symlink to simplify Windows ffmpeg dependency
4 years ago
Bernhard Rosenkränzer 5e8fa56e7a Fix build with ffmpeg 5.0
4 years ago
Romain Vimont 1c71bd16be Use constant string for known booleans
4 years ago
Romain Vimont afa4a1b728 Use sc_ prefix for control_msg
4 years ago