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:
@@ -494,8 +494,6 @@ It is possible to synchronize clipboards between the computer and the device, in
|
|||||||
both directions:
|
both directions:
|
||||||
|
|
||||||
- `RCtrl`+`c` copies the device clipboard to the computer clipboard;
|
- `RCtrl`+`c` copies the device clipboard to the computer clipboard;
|
||||||
- `RCtrl`+`Shift`+`v` copies the computer clipboard to the device clipboard
|
|
||||||
(and pastes if the device runs Android >= 7);
|
|
||||||
- `RCtrl`+`v` _pastes_ the computer clipboard as a sequence of text events (but
|
- `RCtrl`+`v` _pastes_ the computer clipboard as a sequence of text events (but
|
||||||
breaks non-ASCII characters).
|
breaks non-ASCII characters).
|
||||||
|
|
||||||
@@ -585,7 +583,6 @@ device).
|
|||||||
| Collapse notification panel | `RCtrl`+`Shift`+`n`
|
| Collapse notification panel | `RCtrl`+`Shift`+`n`
|
||||||
| Copy device clipboard to computer | `RCtrl`+`c`
|
| Copy device clipboard to computer | `RCtrl`+`c`
|
||||||
| Paste computer clipboard to device | `RCtrl`+`v`
|
| Paste computer clipboard to device | `RCtrl`+`v`
|
||||||
| Copy computer clipboard to device and paste | `RCtrl`+`Shift`+`v`
|
|
||||||
| Enable/disable FPS counter (on stdout) | `RCtrl`+`i`
|
| Enable/disable FPS counter (on stdout) | `RCtrl`+`i`
|
||||||
|
|
||||||
_¹Double-click on black borders to remove them._
|
_¹Double-click on black borders to remove them._
|
||||||
|
|||||||
@@ -285,10 +285,6 @@ Copy device clipboard to computer
|
|||||||
.B RCtrl+v
|
.B RCtrl+v
|
||||||
Paste computer clipboard to device
|
Paste computer clipboard to device
|
||||||
|
|
||||||
.TP
|
|
||||||
.B RCtrl+Shift+v
|
|
||||||
Copy computer clipboard to device (and paste if the device runs Android >= 7)
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B RCtrl+i
|
.B RCtrl+i
|
||||||
Enable/disable FPS counter (print frames/second in logs)
|
Enable/disable FPS counter (print frames/second in logs)
|
||||||
|
|||||||
@@ -248,10 +248,6 @@ scrcpy_print_usage(const char *arg0) {
|
|||||||
" RCtrl+v\n"
|
" RCtrl+v\n"
|
||||||
" Paste computer clipboard to device\n"
|
" Paste computer clipboard to device\n"
|
||||||
"\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"
|
" RCtrl+i\n"
|
||||||
" Enable/disable FPS counter (print frames/second in logs)\n"
|
" Enable/disable FPS counter (print frames/second in logs)\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -347,15 +347,10 @@ input_manager_process_key(struct input_manager *im,
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case SDLK_v:
|
case SDLK_v:
|
||||||
if (control && !repeat && down) {
|
if (control && !shift && !repeat && down) {
|
||||||
if (shift) {
|
// Inject the text as input events
|
||||||
// store the text in the device clipboard and paste
|
|
||||||
set_device_clipboard(controller, true);
|
|
||||||
} else {
|
|
||||||
// inject the text as input events
|
|
||||||
clipboard_paste(controller);
|
clipboard_paste(controller);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
case SDLK_f:
|
case SDLK_f:
|
||||||
if (!shift && !repeat && down) {
|
if (!shift && !repeat && down) {
|
||||||
|
|||||||
Reference in New Issue
Block a user