1098 Commits (b88c4aa75e73c0bbe981dd8f5e986c67d18abe22)

Author SHA1 Message Date
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