Commit Graph

  • 6451ad271a Ignore minBufferSize on error Romain Vimont 2024-09-13 20:03:17 +02:00
  • bec3321fff Validate server arguments Romain Vimont 2024-09-13 19:53:05 +02:00
  • dea1fe3386 Validate crop and video size Romain Vimont 2024-09-13 19:48:44 +02:00
  • a7cae59578 Improve delay buffer startup Romain Vimont 2024-09-12 10:53:44 +02:00
  • f089ea67e1 Add missing flag initialization Romain Vimont 2024-09-11 15:36:51 +02:00
  • 63ced79842 Reverse NDEBUG conditions Romain Vimont 2024-09-11 11:29:00 +02:00
  • 33a8c39beb Fix local NDEBUG define Romain Vimont 2024-09-11 11:26:07 +02:00
  • b587014ccf Add UHID gamepad rumble WIP gamepad.draft3 Romain Vimont 2024-09-06 23:08:08 +02:00
  • 890ee4d893 Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2e79f4b9ef Expose custom UHID device name Romain Vimont 2024-09-08 19:57:14 +02:00
  • 676a83610d Reorder function parameters for consistency Romain Vimont 2024-09-08 20:01:28 +02:00
  • f151992e08 Make -K -M and -G use AOA in OTG mode Romain Vimont 2024-09-07 23:06:16 +02:00
  • 54b6fa5f6e Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2d32cbc716 Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00
  • 29105b240b Add gamepad support in OTG mode Romain Vimont 2024-09-06 23:08:08 +02:00
  • d14cc19c91 Add AOA gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 385b31fb06 Implement HID gamepad Romain Vimont 2024-09-06 23:08:08 +02:00
  • c4b6bb312c Add util functions to write in little-endian Romain Vimont 2024-09-06 23:08:08 +02:00
  • abec04e8e7 Add connected gamepads on start Romain Vimont 2024-09-06 23:08:08 +02:00
  • 0ea20f90be Handle SDL gamepad events Romain Vimont 2024-09-06 23:08:08 +02:00
  • a5ffe5b060 Fix HID comments Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6f1d79ba17 Make AOA keyboard/mouse open error fatal Romain Vimont 2024-09-06 23:08:08 +02:00
  • 44e29989ee Unregister all AOA devices automatically on exit Romain Vimont 2024-09-06 23:08:08 +02:00
  • 00786942be Make HID logs uniform Romain Vimont 2024-09-06 23:08:08 +02:00
  • e6017cdc5d Add AOA open/close verbose logs Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8fb87b5e6b Introduce hid_open and hid_close events Romain Vimont 2024-09-06 23:08:08 +02:00
  • 24f7ea5894 Rename hid_event to hid_input Romain Vimont 2024-09-06 23:08:08 +02:00
  • dbdfd9c8bf Make AOA open and close asynchronous Romain Vimont 2024-09-06 23:08:08 +02:00
  • d58eb616f0 Reorder AOA functions Romain Vimont 2024-09-06 23:08:08 +02:00
  • 230e6b4079 Refactor AOA handling Romain Vimont 2024-09-06 23:08:08 +02:00
  • 3bd07aa8ff Move HID ids to common HID code Romain Vimont 2024-09-06 23:08:08 +02:00
  • 28c91ecba2 Fix HID mouse header guard Romain Vimont 2024-09-06 23:08:08 +02:00
  • 9ebb836b20 Add missing SC_ prefix for HID mouse event size Romain Vimont 2024-09-06 23:08:08 +02:00
  • 1559940cee Remove duplicate definition SC_HID_MAX_SIZE Romain Vimont 2024-09-06 23:08:08 +02:00
  • 0cc1a855dc Fail on AOA keyboard/mouse initialization error Romain Vimont 2024-09-06 23:08:08 +02:00
  • b49064064c Introduce non-droppable control messages Romain Vimont 2024-09-06 23:08:08 +02:00
  • ba342c398d Remove atomics from keyboard_uhid Romain Vimont 2024-09-06 23:08:08 +02:00
  • d7fe119c8e Process UHID outputs events from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • c5ccae5538 Set clipboard from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 87d9d68c07 Add mechanism to execute code on the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 684e2b632e Expose main thread id Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8598e7d7a8 Extract sc_push_event() Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8b372ae809 Store events numbers in an enum Romain Vimont 2024-09-06 23:08:08 +02:00
  • 28512d3872 Fix deprecated reference in scrcpy manpage Romain Vimont 2024-09-06 23:08:08 +02:00
  • c11f07c1e8 Do not send uninitialized HID event Romain Vimont 2024-09-07 18:35:16 +02:00
  • 903a5aaaf5 Replace "could not" by "cannot" where appropriate Romain Vimont 2024-09-09 08:24:52 +02:00
  • 25470a5a16 gamepad_hid_output gamepad.rumblewip Romain Vimont 2024-09-08 09:41:42 +02:00
  • 995d069d35 Add UHID gamepad rumble WIP Romain Vimont 2024-09-06 23:08:08 +02:00
  • 015bbb1f44 gamepad_resampler_skeleton gamepad_resampler.1 Romain Vimont 2024-09-08 08:53:19 +02:00
  • 82660c25a0 Add UHID gamepad rumble WIP Romain Vimont 2024-09-06 23:08:08 +02:00
  • 246b708757 Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • 07cf49310c Make -K -M and -G use AOA in OTG mode Romain Vimont 2024-09-07 23:06:16 +02:00
  • 17987ee48e Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8455b959b3 Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00
  • 5989198503 Add gamepad support in OTG mode Romain Vimont 2024-09-06 23:08:08 +02:00
  • 214efa0855 Add AOA gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 75a3294c2b Implement HID gamepad Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2680a714b4 Add util functions to write in little-endian Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6366438a69 Add connected gamepads on start Romain Vimont 2024-09-06 23:08:08 +02:00
  • b54b0a6958 Add UHID gamepad rumble WIP gamepad.draft2 Romain Vimont 2024-09-06 23:08:08 +02:00
  • e5c7840530 Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • ccc030625b Make -K -M and -G use AOA in OTG mode Romain Vimont 2024-09-07 23:06:16 +02:00
  • b0b05909c0 Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 330d844231 Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00
  • ab6732f32d Add gamepad support in OTG mode Romain Vimont 2024-09-06 23:08:08 +02:00
  • 32c73a5448 Add AOA gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • c72c772c81 Implement HID gamepad Romain Vimont 2024-09-06 23:08:08 +02:00
  • d2e1d96fbd Add util functions to write in little-endian Romain Vimont 2024-09-06 23:08:08 +02:00
  • 07d5a6ca80 Add connected gamepads on start Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2d929fa4e5 Handle SDL gamepad events Romain Vimont 2024-09-06 23:08:08 +02:00
  • 623346b558 Fix HID comments Romain Vimont 2024-09-06 23:08:08 +02:00
  • 5b52afd980 Make AOA keyboard/mouse open error fatal Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4c5d43d41d Unregister all AOA devices automatically on exit Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2351eed46f Make HID logs uniform Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2595bcfa75 Add AOA open/close verbose logs Romain Vimont 2024-09-06 23:08:08 +02:00
  • 93dad86634 Introduce hid_open and hid_close events Romain Vimont 2024-09-06 23:08:08 +02:00
  • 282e6503e1 Rename hid_event to hid_input Romain Vimont 2024-09-06 23:08:08 +02:00
  • 9c86cf74e6 Make AOA open and close asynchronous Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2caf593960 Reorder AOA functions Romain Vimont 2024-09-06 23:08:08 +02:00
  • 1344b76f42 Refactor AOA handling Romain Vimont 2024-09-06 23:08:08 +02:00
  • 32b1a8093a Move HID ids to common HID code Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4416aa29f1 Fix HID mouse header guard Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4b95a9674a Add missing SC_ prefix for HID mouse event size Romain Vimont 2024-09-06 23:08:08 +02:00
  • c7c8d71de5 Remove duplicate definition SC_HID_MAX_SIZE Romain Vimont 2024-09-06 23:08:08 +02:00
  • de6ee25d09 Fail on AOA keyboard/mouse initialization error Romain Vimont 2024-09-06 23:08:08 +02:00
  • 70a9bbbc06 Introduce non-droppable control messages Romain Vimont 2024-09-06 23:08:08 +02:00
  • 97e83fa3d6 Remove atomics from keyboard_uhid Romain Vimont 2024-09-06 23:08:08 +02:00
  • 0215693725 Process UHID outputs events from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 220cad2e7a Set clipboard from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 0b6119a594 Add mechanism to execute code on the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 9cae029ef2 Expose main thread id Romain Vimont 2024-09-06 23:08:08 +02:00
  • 72d5bcc12a Extract sc_push_event() Romain Vimont 2024-09-06 23:08:08 +02:00
  • d56b8a6a95 Store events numbers in an enum Romain Vimont 2024-09-06 23:08:08 +02:00
  • 580cba73c0 Fix deprecated reference in scrcpy manpage Romain Vimont 2024-09-06 23:08:08 +02:00
  • 523299743c Do not send uninitialized HID event Romain Vimont 2024-09-07 18:35:16 +02:00
  • 21b412cd98 Simplify messages reader/writer Romain Vimont 2024-09-07 14:24:25 +02:00
  • 3ade819cef Add UHID gamepad rumble WIP gamepad.draft1 Romain Vimont 2024-09-06 23:08:08 +02:00
  • 7828bb2dbd Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • b32406681b Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • b266fdb229 Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00