1185 Commits (ef13d394fd83a2c534d86f2dbc188f4324a6ee34)

Author SHA1 Message Date
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
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
Romain Vimont 3a4d5c7f18 Use sc_ prefix for controller
4 years ago
Romain Vimont 5f7ddff8ae Use sc_ prefix for input_manager
4 years ago
Romain Vimont 2a0c2e5e99 Use sc_ prefix for screen
4 years ago
Romain Vimont a6644e831b Fix code style
4 years ago
Romain Vimont 75655194fb Do not pass scrcpy_options to keyboard inject
4 years ago
Romain Vimont cba84f6999 Add support for HID mouse
4 years ago
Romain Vimont ed2e45ee29 Refactor AOA/HID keyboard initialization
4 years ago
Romain Vimont aee1b39790 Add CLAMP() macro
4 years ago
Romain Vimont 17d01b5bf7 Add UI/UX support for relative mouse mode
4 years ago
Romain Vimont 40fca82b60 Forward all motion events to mouse processors
4 years ago
Romain Vimont 643293752d Provide relative mouse motion vector in event
4 years ago
Romain Vimont b5855e5deb Add relative mode flag to mouse processors
4 years ago
Romain Vimont 924375487e Pass buttons state in scroll events
4 years ago
Romain Vimont 7121a0dc53 Destroy acksync immediately on error
4 years ago
Romain Vimont f04812fc71 Remove duplicate boolean
4 years ago
Romain Vimont 5ce1ccde85 Reorder controller and HID initialization
4 years ago
Romain Vimont 6102a0b5bb Move input_manager into screen
4 years ago
Romain Vimont 2b34e1224e Use separate struct for input manager params
4 years ago
Romain Vimont a9d23400cd Remove unused enum value requiring SDL 2.0.18
4 years ago
Romain Vimont cca3c953da Enable virtual finger only on left click
4 years ago
Romain Vimont 57f1655d4b Make some mouse processors ops optional
4 years ago
Romain Vimont bc674721dc Make process_text() optional
4 years ago
Romain Vimont 63e29b1782 Apply buttons mask if not --forward-all-clicks
4 years ago
Romain Vimont 3c15cbdaf8 Reorder mouse processor ops
4 years ago
Romain Vimont 96e0e89740 Simplify mouse injection implementation
4 years ago
Romain Vimont a1f2f5fbd3 Make some event conversions infallible
4 years ago
Romain Vimont 9460bdd87b Use scrcpy input events for mouse processors
4 years ago
Romain Vimont b4b638e8fe Use scrcpy input events for key processors
4 years ago
Romain Vimont e4396e34c2 Use common sc_action in input manager
4 years ago
Romain Vimont b8fed50639 Add intermediate input events layer
4 years ago
Romain Vimont d540c72e7c Rename SC_MOD_* to SC_SHORTCUT_MOD_*
4 years ago
Romain Vimont cd5891fee6 Remove actions bitset
4 years ago
Romain Vimont 26ee7ce566 Expose V4L2 option on all platforms
4 years ago
Romain Vimont ba28d817fb Fail on unsupported HID option
4 years ago
Romain Vimont 37124e1452 Avoid unused function warning
4 years ago
Romain Vimont 6b9f397733 Happy new year 2022!
4 years ago
Romain Vimont 1fbc590b26 Fix memory leaks in tests
4 years ago
Romain Vimont 826ddf1a6e Document HID keyboard events
4 years ago
Romain Vimont 6261bb0b5a Ignore display bounds on resize-to-fit
4 years ago
Romain Vimont 2f091beeaa Simplify sc_size assignment
4 years ago
Romain Vimont ad11c5babb Set DPI awareness for Windows
4 years ago
Romain Vimont feb250a973 Fix typos reported by codespell
4 years ago
Chih-Hsuan Yen d049671908 Fix adb server hang
4 years ago
Romain Vimont 0685c491cd Improve crossbuild configuration
4 years ago
Romain Vimont 29570ee819 Add metadata to scrcpy.exe for Windows
4 years ago
Romain Vimont cfcbc2ac21 Add icon to scrcpy.exe
4 years ago
Romain Vimont 2cb4e04209 Update copyright date to 2021 in manpage
4 years ago
Romain Vimont 878ffffc36 Update environment variables section in manpage
4 years ago
Romain Vimont f0361fc8b3 Add environment variables in help
4 years ago
Romain Vimont b5d4ec61fc Move newline generation in help
4 years ago
Romain Vimont 3ada5c51bc Rename scrcpy threads
4 years ago
Romain Vimont 09c55b0f93 Set "low delay" decoder flag
4 years ago
Romain Vimont 682a691173 Use timers with microsecond precision
4 years ago
Romain Vimont ddb9396743 Interrupt and close sockets on server stop
4 years ago
Romain Vimont cabcbc2b15 Do not create control socket if no control
4 years ago
Romain Vimont 80fe12a95f Require libavcodec >= 57.37
4 years ago
Romain Vimont 099c546580 Require libavformat >= 57.33
4 years ago
Romain Vimont dca2c5f94f Require SDL >= 2.0.5
4 years ago
Romain Vimont 90cf956f57 Remove spurious ';'
4 years ago
Romain Vimont 36c8778d2d Add missing comma
4 years ago
Romain Vimont ae90ef22db Add a unit test for clipboard text length
4 years ago
Yu-Chen Lin d80bc25eba Fix overflow in memcpy
4 years ago
Yu-Chen Lin daa06abd34 Fix comment in control message serialization
4 years ago
Romain Vimont 94702a4309 Fix memset() size in tests
4 years ago
Romain Vimont 65fbec9643 Mention SCRCPY_ICON_PATH env var in manpage
4 years ago
Romain Vimont 64a04b8d4a Fix process execution on Windows 7
4 years ago