Reformulate seamless paste documentation
This commit is contained in:
@@ -285,7 +285,7 @@ Paste computer clipboard to device
|
||||
|
||||
.TP
|
||||
.B Meta+Shift+v
|
||||
Copy computer clipboard to device (and paste if the device runs Android >= 7)
|
||||
Copy computer clipboard to device, then press PASTE (Android >= 7)
|
||||
|
||||
.TP
|
||||
.B Meta+i
|
||||
|
||||
@@ -251,8 +251,8 @@ scrcpy_print_usage(const char *arg0) {
|
||||
" Paste computer clipboard to device\n"
|
||||
"\n"
|
||||
" " MOD "+Shift+v\n"
|
||||
" Copy computer clipboard to device (and paste if the device\n"
|
||||
" runs Android >= 7)\n"
|
||||
" Copy computer clipboard to device, then press PASTE (Android\n"
|
||||
" >= 7)\n"
|
||||
"\n"
|
||||
" " MOD "+i\n"
|
||||
" Enable/disable FPS counter (print frames/second in logs)\n"
|
||||
|
||||
@@ -347,10 +347,11 @@ input_manager_process_key(struct input_manager *im,
|
||||
case SDLK_v:
|
||||
if (control && !repeat && down) {
|
||||
if (shift) {
|
||||
// store the text in the device clipboard and paste
|
||||
// Store the text in the device clipboard, then press
|
||||
// PASTE
|
||||
set_device_clipboard(controller, true);
|
||||
} else {
|
||||
// inject the text as input events
|
||||
// Inject the text as input events
|
||||
clipboard_paste(controller);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user