Commit Graph

  • f69ac40534 Reorganize server imports Romain Vimont 2024-09-20 08:43:42 +02:00
  • e39adb1b79 Detect codec/encoder mismatch codec_mismatch Romain Vimont 2024-09-20 08:17:48 +02:00
  • 665ccb32f5 Update links to 2.7 v2.7 Romain Vimont 2024-09-15 21:15:26 +02:00
  • 292adf294d Bump version to 2.7 Romain Vimont 2024-09-15 18:59:27 +02:00
  • f9f3bfabe3 Merge branch 'master' into release Romain Vimont 2024-09-15 18:59:16 +02:00
  • 6d23a389ca Upgrade FFmpeg (7.0.2) for Windows Romain Vimont 2024-09-15 18:54:37 +02:00
  • 337901368e Upgrade SDL (2.30.7) for Windows Romain Vimont 2024-09-15 14:40:52 +02:00
  • 4cc4abdcc8 Mention issue with AOA and multiple gamepads gamepad Romain Vimont 2024-09-15 18:35:22 +02:00
  • befc0fac5b Mention UHID permission errors Romain Vimont 2024-09-15 18:32:10 +02:00
  • f01a622ead Enable joystick events in background Romain Vimont 2024-09-10 09:16:05 +02:00
  • 0ba430a462 Add gamepad user documentation Romain Vimont 2024-09-09 18:25:50 +02:00
  • 91d40c7548 Fix link in OTG documentation Romain Vimont 2024-09-09 18:24:29 +02:00
  • 9f3d51106d Remove fragile assert() Romain Vimont 2024-09-13 21:58:11 +02:00
  • bf2b679e70 Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • 7f250dd669 Mention physical gamepad names for UHID devices Romain Vimont 2024-09-08 19:57:14 +02:00
  • 68e27c7357 Reorder function parameters for consistency Romain Vimont 2024-09-08 20:01:28 +02:00
  • c4febd55eb Make -K -M and -G use AOA in OTG mode Romain Vimont 2024-09-07 23:06:16 +02:00
  • f9d1a333a0 Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 64a25f6e9d Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00
  • 5fe884276b Add gamepad support in OTG mode Romain Vimont 2024-09-06 23:08:08 +02:00
  • 3e68244dd3 Add connected gamepads on start Romain Vimont 2024-09-06 23:08:08 +02:00
  • a34a62ca4b Add AOA gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • a59c6df4b7 Implement HID gamepad Romain Vimont 2024-09-06 23:08:08 +02:00
  • f4d1e49ad9 Add util functions to write in little-endian Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4565f36ee6 Handle SDL gamepad events Romain Vimont 2024-09-06 23:08:08 +02:00
  • c8479fe8bf Discard unknown SDL events Romain Vimont 2024-09-13 22:00:24 +02:00
  • de8455400c Fix HID comments Romain Vimont 2024-09-06 23:08:08 +02:00
  • 1f5be743b4 Make AOA keyboard/mouse open error fatal Romain Vimont 2024-09-06 23:08:08 +02:00
  • 222916eebe Unregister all AOA devices automatically on exit Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6c707ad8a3 Make HID logs uniform Romain Vimont 2024-09-06 23:08:08 +02:00
  • d748ac75e6 Add AOA open/close verbose logs Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6f0c9eba9b Introduce hid_open and hid_close events Romain Vimont 2024-09-06 23:08:08 +02:00
  • f6219d2640 Rename hid_event to hid_input Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6e9b0d7d4c Make AOA open and close asynchronous Romain Vimont 2024-09-06 23:08:08 +02:00
  • 3e9c89c535 Reorder AOA functions Romain Vimont 2024-09-06 23:08:08 +02:00
  • 9af3bacdd6 Refactor AOA handling Romain Vimont 2024-09-06 23:08:08 +02:00
  • 2dd02ebb80 Move HID ids to common HID code Romain Vimont 2024-09-06 23:08:08 +02:00
  • dad04bf138 Fix HID mouse header guard Romain Vimont 2024-09-06 23:08:08 +02:00
  • 1afc8ca368 Add missing SC_ prefix for HID mouse event size Romain Vimont 2024-09-06 23:08:08 +02:00
  • 785099b74d Remove duplicate definition SC_HID_MAX_SIZE Romain Vimont 2024-09-06 23:08:08 +02:00
  • 08da2e068e Fail on AOA keyboard/mouse initialization error Romain Vimont 2024-09-06 23:08:08 +02:00
  • 49c8ca34fd Introduce non-droppable control messages Romain Vimont 2024-09-06 23:08:08 +02:00
  • a84b0dfd0c Remove atomics from keyboard_uhid Romain Vimont 2024-09-06 23:08:08 +02:00
  • cbf5db85c1 Process UHID outputs events from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 72ee195693 Set clipboard from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8620d06741 Add mechanism to execute code on the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • e9240f6804 Expose main thread id Romain Vimont 2024-09-06 23:08:08 +02:00
  • e9b32d8a52 Extract sc_push_event() Romain Vimont 2024-09-06 23:08:08 +02:00
  • ce4e1fc420 Store events numbers in an enum Romain Vimont 2024-09-06 23:08:08 +02:00
  • e8f02685e9 Fix deprecated references in scrcpy manpage Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4a6b335f7d Do not send uninitialized HID event Romain Vimont 2024-09-07 18:35:16 +02:00
  • 90ee0062cb Fix compilation with -Dusb=false Romain Vimont 2024-09-13 22:00:43 +02:00
  • e03888d587 Reject arguments containing new line characters Romain Vimont 2024-09-14 21:21:48 +02:00
  • 8453e3ba7d Enable TCP_NODELAY for the control socket Romain Vimont 2024-09-14 19:40:43 +02:00
  • 145a9468fd Fix ifdef _WIN32 Romain Vimont 2024-09-14 14:37:13 +02:00
  • 1d713d7598 Do not parse --max-fps float in the client Romain Vimont 2024-09-14 14:32:32 +02:00
  • 7920f2b153 Enable joystick events in background gamepad.draft4 Romain Vimont 2024-09-10 09:16:05 +02:00
  • 3d6293c655 Add gamepad user documentation Romain Vimont 2024-09-09 18:25:50 +02:00
  • ef6f944a83 Fix link in OTG documentation Romain Vimont 2024-09-09 18:24:29 +02:00
  • 7246eee183 Remove fragile assert() Romain Vimont 2024-09-13 21:58:11 +02:00
  • edf451155e Simplify UHID outputs routing Romain Vimont 2024-09-06 23:08:08 +02:00
  • 8781e68e58 Mention physical gamepad names for UHID devices Romain Vimont 2024-09-08 19:57:14 +02:00
  • d7d0d90b99 Reorder function parameters for consistency Romain Vimont 2024-09-08 20:01:28 +02:00
  • e700865985 Make -K -M and -G use AOA in OTG mode Romain Vimont 2024-09-07 23:06:16 +02:00
  • a3c0c63380 Add UHID gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • e4b012c4c9 Add UHID_DESTROY control message Romain Vimont 2024-09-06 23:08:08 +02:00
  • c77e75ded5 Add gamepad support in OTG mode Romain Vimont 2024-09-06 23:08:08 +02:00
  • 51d54fbe61 Add connected gamepads on start Romain Vimont 2024-09-06 23:08:08 +02:00
  • acc7c8d5fb Add AOA gamepad support Romain Vimont 2024-09-06 23:08:08 +02:00
  • 23ec073fc1 Implement HID gamepad Romain Vimont 2024-09-06 23:08:08 +02:00
  • 131a170a4d Add util functions to write in little-endian Romain Vimont 2024-09-06 23:08:08 +02:00
  • 6210b51dcc Handle SDL gamepad events Romain Vimont 2024-09-06 23:08:08 +02:00
  • d24580f469 Discard unknown SDL events Romain Vimont 2024-09-13 22:00:24 +02:00
  • 04a45e3f4b Fix HID comments Romain Vimont 2024-09-06 23:08:08 +02:00
  • d82f4b35f7 Make AOA keyboard/mouse open error fatal Romain Vimont 2024-09-06 23:08:08 +02:00
  • c1a81a99e2 Unregister all AOA devices automatically on exit Romain Vimont 2024-09-06 23:08:08 +02:00
  • 300ba3cb20 Make HID logs uniform Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4a50e5ac83 Add AOA open/close verbose logs Romain Vimont 2024-09-06 23:08:08 +02:00
  • 9306daa609 Introduce hid_open and hid_close events Romain Vimont 2024-09-06 23:08:08 +02:00
  • 94e0db4c74 Rename hid_event to hid_input Romain Vimont 2024-09-06 23:08:08 +02:00
  • 952fc75676 Make AOA open and close asynchronous Romain Vimont 2024-09-06 23:08:08 +02:00
  • 33ddccf9f6 Reorder AOA functions Romain Vimont 2024-09-06 23:08:08 +02:00
  • 90216c2082 Refactor AOA handling Romain Vimont 2024-09-06 23:08:08 +02:00
  • 43be63ea98 Move HID ids to common HID code Romain Vimont 2024-09-06 23:08:08 +02:00
  • fd17b929ba Fix HID mouse header guard Romain Vimont 2024-09-06 23:08:08 +02:00
  • b2107bb833 Add missing SC_ prefix for HID mouse event size Romain Vimont 2024-09-06 23:08:08 +02:00
  • 57051b57ea Remove duplicate definition SC_HID_MAX_SIZE Romain Vimont 2024-09-06 23:08:08 +02:00
  • 0c4de3b37d Fail on AOA keyboard/mouse initialization error Romain Vimont 2024-09-06 23:08:08 +02:00
  • 4963b468cb Introduce non-droppable control messages Romain Vimont 2024-09-06 23:08:08 +02:00
  • df8fdfcc82 Remove atomics from keyboard_uhid Romain Vimont 2024-09-06 23:08:08 +02:00
  • a12106044c Process UHID outputs events from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 557bc69265 Set clipboard from the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 10250dce65 Add mechanism to execute code on the main thread Romain Vimont 2024-09-06 23:08:08 +02:00
  • 73d722d4bf Expose main thread id Romain Vimont 2024-09-06 23:08:08 +02:00
  • ca08d45bd7 Extract sc_push_event() Romain Vimont 2024-09-06 23:08:08 +02:00
  • 5317492225 Store events numbers in an enum Romain Vimont 2024-09-06 23:08:08 +02:00
  • cce886d94a Fix deprecated references in scrcpy manpage Romain Vimont 2024-09-06 23:08:08 +02:00
  • 68982c73da Do not send uninitialized HID event Romain Vimont 2024-09-07 18:35:16 +02:00
  • 8d4ea2bd37 Fix compilation with -Dusb=false Romain Vimont 2024-09-13 22:00:43 +02:00
  • 265a15e0b1 Accept float values for --max-fps Romain Vimont 2024-09-13 20:03:50 +02:00