1158 Commits (3ce6f8ca91bd28e980943f9346ce6efcbee145b8)

Author SHA1 Message Date
Romain Vimont 146f65d7b2 Introduce adb device selector
4 years ago
Romain Vimont 5ed13ef477 Execute adb start-server
4 years ago
Romain Vimont 9c545e8c29 Remove sc_adb_get_serialno()
4 years ago
Romain Vimont 0a619dc9ef Allow selecting a device from IP without port
4 years ago
Romain Vimont 4692d13179 Expose simple API to select a single adb device
4 years ago
Romain Vimont 02d46b2262 Expose function to test if a serial is TCP/IP
4 years ago
Romain Vimont 4389de1c23 Add adb devices parser
4 years ago
Romain Vimont 85ff70fc95 Refactor device configuration
4 years ago
Romain Vimont 700503df6c List and select USB devices separately
4 years ago
Romain Vimont 61969aeb80 Expose simple API to select a single USB device
4 years ago
Romain Vimont b88c4aa75e Add move-function for sc_usb_device
4 years ago
Romain Vimont 8c50342fb2 Move SC_PRIsizet to compat.h
4 years ago
Romain Vimont 0eadf95a3e Rename function to destroy a list of USB devices
4 years ago
Romain Vimont 6df2205cf3 Add generic LOG() macro with level parameter
4 years ago
Romain Vimont 61b6324ee9 Remove LOGC()
4 years ago
Romain Vimont f20137d2ac Improve USB device open log
4 years ago
Romain Vimont b60809a4da Inline USB device opening
4 years ago
Romain Vimont b0e04aa327 Remove log_libusb_error()
4 years ago
Romain Vimont 137d2c9791 Remove confusing sc_str_truncate()
4 years ago
Romain Vimont 6d41c53b61 Fix adb connect parsing
4 years ago
Romain Vimont 8d540e83c7 Fix adb get-serialno parsing
4 years ago
Romain Vimont 2ea12f73db Fix adb getprop parsing
4 years ago
Romain Vimont 5d6bd8f9cd Fix adb device ip parsing
4 years ago
Romain Vimont 5b3ae2cb2f Store actual serial in sc_server
4 years ago
Romain Vimont 08f16a9dde Simplify switch to TCPIP function
4 years ago
Romain Vimont 386cf7d7ac Build adb argv statically
4 years ago
Romain Vimont 5e2bfccab4 Expose adb executable path publicly
4 years ago
Romain Vimont ba30ca5c1e Rename adb_command to adb_executable
4 years ago
Romain Vimont 028e7afe32 Assert non-NULL serial
4 years ago
Romain Vimont 6ca9825c0f Assert "adb disconnect" is called with an argument
4 years ago
Romain Vimont f807131c0a Remove useless undef
4 years ago
Romain Vimont 21106bd70a Remove screensaver log
4 years ago
Romain Vimont bd3c93ae3d Remove platform-tools installation suggestion
4 years ago
Romain Vimont 9e3902f30c Use sc_ prefix for adb
4 years ago
Romain Vimont 7810ca61b0 Move ADB code to adb/
4 years ago
Romain Vimont c460243ce2 Simplify demuxer
4 years ago
Romain Vimont 7dec225ceb Rename stream to sc_demuxer
4 years ago
Romain Vimont 4ee62abe1d Use sc_ prefix for recorder
4 years ago
Romain Vimont 0080d0b0ff Use sc_ prefix for decoder
4 years ago
CennoxX 0bf7e4ddc4 Add missing spaces in help
4 years ago
Romain Vimont f02f2135cd Fix include for standard library header
4 years ago
Romain Vimont 9b4360b6b8 Add warning in function documentation
4 years ago
Romain Vimont c8d0f5cdeb Fix sc_str_truncate() documentation
4 years ago
Romain Vimont 22d9f0faf4 Fix comment typo
4 years ago
Romain Vimont 64a09513ae Bump version to 1.22
4 years ago
Romain Vimont 38cdcdda50 Improve prebuilt system
4 years ago
Romain Vimont b8d7f36ba3 Fix SC_EXIT_CODE_NONE value
4 years ago
Romain Vimont 80bec70852 Add helper to log Windows system errors
4 years ago
Romain Vimont 5508c635cb Enable mouse focus clickthrough in OTG mode
4 years ago
Romain Vimont ea68a003a2 Make HID keyboard and mouse optional in OTG mode
4 years ago
Romain Vimont 91418c79ab Add OTG mode
4 years ago
Romain Vimont 36aaf70279 Move input event helpers
4 years ago
Romain Vimont 1a03206e36 Detect USB device disconnection
4 years ago
Romain Vimont 37987b822e Make acksync optional for AOA initialization
4 years ago
Romain Vimont 8fc9dca8cb Make serial optional to find USB devices
4 years ago
Romain Vimont 1c17f57c10 Find a list of devices instead of a single one
4 years ago
Romain Vimont d8b37fe189 Wrap libusb_device
4 years ago
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