scrcpy/app/src
Romain Vimont 206abdb2c5 Add option to force legacy method for pasting
Some devices do not behave as expected when setting the device clipboard
programmatically.

Add an option --legacy-paste to change the behavior of Ctrl+v and MOD+v
so that they inject the computer clipboard text as a sequence of key
events (the same way as MOD+Shift+v).

Fixes #1750 <https://github.com/Genymobile/scrcpy/issues/1750>
Fixes #1771 <https://github.com/Genymobile/scrcpy/issues/1771>
2020-10-06 21:30:10 +02:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Fix feature test macro 2020-08-31 14:02:51 +02:00
util Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
cli.c Add option to force legacy method for pasting 2020-10-06 21:30:10 +02:00
cli.h Customize shortcut modifier 2020-08-01 16:31:27 +02:00
command.c Show a friendly hint for adb installation 2020-02-27 21:28:42 +01:00
command.h Show a friendly hint for adb installation 2020-02-27 21:28:42 +01:00
common.h Accept port range 2020-01-18 17:21:00 +01:00
compat.h Disable X11 compositor bypass 2019-05-05 17:35:00 +02:00
control_msg.c Handle repeating keycodes 2020-06-19 22:30:17 +02:00
control_msg.h Add pinch-to-zoom simulation 2020-08-10 20:08:24 +02:00
controller.c Make message buffer static 2020-06-11 23:11:20 +02:00
controller.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
decoder.c Remove unused includes 2019-11-27 21:40:54 +01:00
decoder.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
device.c Move utilities to util/ 2019-11-24 11:53:23 +01:00
device.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
device_msg.c Serialize text size on 4 bytes 2020-06-11 23:11:17 +02:00
device_msg.h Increase clipboard size from 4k to 256k 2020-06-11 23:11:20 +02:00
event_converter.c Forward Shift to the device 2020-08-01 16:31:31 +02:00
event_converter.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
events.h Add stream layer 2019-03-02 18:45:45 +01:00
file_handler.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
file_handler.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
fps_counter.c Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
fps_counter.h Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add option to force legacy method for pasting 2020-10-06 21:30:10 +02:00
input_manager.h Add option to force legacy method for pasting 2020-10-06 21:30:10 +02:00
main.c Fix "press Enter key" message 2020-10-01 14:52:24 +02:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
receiver.c Set computer clipboard only if necessary 2020-08-01 16:31:31 +02:00
receiver.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
recorder.c Add missing mutex unlock on error 2020-09-20 01:11:13 +02:00
recorder.h Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
scrcpy.c Pass full options struct to static functions 2020-08-02 18:20:14 +02:00
scrcpy.h Add option to force legacy method for pasting 2020-10-06 21:30:10 +02:00
screen.c Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
screen.h Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
server.c Fix more log format warning 2020-08-31 13:40:32 +02:00
server.h Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
stream.c Remove unused includes 2019-11-27 21:40:54 +01:00
stream.h Remove unused field 2020-09-20 01:11:22 +02:00
tiny_xpm.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
tiny_xpm.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
video_buffer.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
video_buffer.h Include config.h everywhere 2019-09-29 22:39:53 +02:00