Compare commits
17
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
173ac56880 | ||
|
|
913a9f3694 | ||
|
|
d9fd3117ff | ||
|
|
18ea1a442b | ||
|
|
13f95865dc | ||
|
|
808a9cad90 | ||
|
|
80e799a6f4 | ||
|
|
914b4dbebc | ||
|
|
64749c4a44 | ||
|
|
a162725f0e | ||
|
|
cc6a43f033 | ||
|
|
2fcb1ce58c | ||
|
|
ded6215362 | ||
|
|
a253164237 | ||
|
|
2df8c33f62 | ||
|
|
793db5a77e | ||
|
|
8700ad74b9 |
@@ -496,12 +496,8 @@ computer clipboard.
|
|||||||
`Ctrl`+`c` (copy), `Ctrl`+`x` (cut) and `LCtrl`+`v` (paste) work as you expect.
|
`Ctrl`+`c` (copy), `Ctrl`+`x` (cut) and `LCtrl`+`v` (paste) work as you expect.
|
||||||
|
|
||||||
In addition, `RCtrl`+`v` allows to inject the computer clipboard content as a
|
In addition, `RCtrl`+`v` allows to inject the computer clipboard content as a
|
||||||
sequence of text events . This is useful when the component does not accept text
|
sequence of text event. Even if it can break non-ASCII content, this is
|
||||||
pasting (for example in _Termux_), but it can break non-ASCII content.
|
sometimes necessary when pasting directly is not possible.
|
||||||
|
|
||||||
Another shortcut, `RCtrl`+`Shift`+`v`, only copies the computer clipboard to the
|
|
||||||
device clipboard. This is useful when `Ctrl`+`v` does not paste on the device
|
|
||||||
(for example, again, in _Termux_).
|
|
||||||
|
|
||||||
|
|
||||||
#### Text injection preference
|
#### Text injection preference
|
||||||
@@ -589,7 +585,6 @@ system).
|
|||||||
| Expand notification panel | `RCtrl`+`n`
|
| Expand notification panel | `RCtrl`+`n`
|
||||||
| Collapse notification panel | `RCtrl`+`Shift`+`n`
|
| Collapse notification panel | `RCtrl`+`Shift`+`n`
|
||||||
| Inject computer clipboard text | `RCtrl`+`v`
|
| Inject computer clipboard text | `RCtrl`+`v`
|
||||||
| Copy computer clipboard to device | `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._
|
||||||
|
|||||||
@@ -281,10 +281,6 @@ Collapse notification panel
|
|||||||
.B RCtrl+v
|
.B RCtrl+v
|
||||||
Inject computer clipboard text
|
Inject computer clipboard text
|
||||||
|
|
||||||
.TP
|
|
||||||
.B RCtrl+Shift+v
|
|
||||||
Copy computer clipboard to device
|
|
||||||
|
|
||||||
.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)
|
||||||
|
|||||||
@@ -245,9 +245,6 @@ scrcpy_print_usage(const char *arg0) {
|
|||||||
" RCtrl+v\n"
|
" RCtrl+v\n"
|
||||||
" Inject computer clipboard text\n"
|
" Inject computer clipboard text\n"
|
||||||
"\n"
|
"\n"
|
||||||
" RCtrl+Shift+v\n"
|
|
||||||
" Copy computer clipboard to device\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"
|
||||||
|
|||||||
@@ -359,14 +359,9 @@ 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
|
clipboard_paste(controller);
|
||||||
set_device_clipboard(controller);
|
|
||||||
} else {
|
|
||||||
// inject the text as input events
|
|
||||||
clipboard_paste(controller);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case SDLK_f:
|
case SDLK_f:
|
||||||
|
|||||||
Reference in New Issue
Block a user