Remove RCtrl+Shift+v paste shortcut
Now that LCtrl+v synchronize the computer clipboard to the device clipboard, RCtrl+Shift+v is not needed anymore. Note: RCtrl+v is kept to send the computer clipboard content as a sequence of keys.
This commit is contained in:
@@ -248,10 +248,6 @@ scrcpy_print_usage(const char *arg0) {
|
||||
" RCtrl+v\n"
|
||||
" Paste computer clipboard to device\n"
|
||||
"\n"
|
||||
" RCtrl+Shift+v\n"
|
||||
" Copy computer clipboard to device (and paste if the device\n"
|
||||
" runs Android >= 7)\n"
|
||||
"\n"
|
||||
" RCtrl+i\n"
|
||||
" Enable/disable FPS counter (print frames/second in logs)\n"
|
||||
"\n"
|
||||
|
||||
@@ -347,14 +347,9 @@ input_manager_process_key(struct input_manager *im,
|
||||
}
|
||||
return;
|
||||
case SDLK_v:
|
||||
if (control && !repeat && down) {
|
||||
if (shift) {
|
||||
// store the text in the device clipboard and paste
|
||||
set_device_clipboard(controller, true);
|
||||
} else {
|
||||
// inject the text as input events
|
||||
clipboard_paste(controller);
|
||||
}
|
||||
if (control && !shift && !repeat && down) {
|
||||
// Inject the text as input events
|
||||
clipboard_paste(controller);
|
||||
}
|
||||
return;
|
||||
case SDLK_f:
|
||||
|
||||
Reference in New Issue
Block a user