WIP remove Meta+Shift+v
This commit is contained in:
parent
b330ba448b
commit
8da10eb4af
@ -585,7 +585,6 @@ _`Meta` is typically the `Windows` key on the keyboard, or `Cmd` on macOS._
|
||||
| Press COPY³, then Copy device clipboard to computer | `Meta`+`c`
|
||||
| Press CUT³ | `Meta`+`x`
|
||||
| Paste computer clipboard to device | `Meta`+`v`
|
||||
| Copy computer clipboard to device, then press PASTE³ | `Meta`+`Shift`+`v`
|
||||
| Enable/disable FPS counter (on stdout) | `Meta`+`i`
|
||||
|
||||
_¹Double-click on black borders to remove them._
|
||||
|
@ -287,10 +287,6 @@ Press CUT (Android >= 7)
|
||||
.B Meta+v
|
||||
Paste computer clipboard to device
|
||||
|
||||
.TP
|
||||
.B Meta+Shift+v
|
||||
Copy computer clipboard to device, then press PASTE (Android >= 7)
|
||||
|
||||
.TP
|
||||
.B Meta+i
|
||||
Enable/disable FPS counter (print frames/second in logs)
|
||||
|
@ -254,10 +254,6 @@ scrcpy_print_usage(const char *arg0) {
|
||||
" " MOD "+v\n"
|
||||
" Paste computer clipboard to device\n"
|
||||
"\n"
|
||||
" " MOD "+Shift+v\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"
|
||||
"\n"
|
||||
|
@ -361,16 +361,10 @@ 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, then press
|
||||
// PASTE
|
||||
set_device_clipboard(controller, true);
|
||||
} else {
|
||||
if (control && !shift && !repeat && down) {
|
||||
// Inject the text as input events
|
||||
clipboard_paste(controller);
|
||||
}
|
||||
}
|
||||
return;
|
||||
case SDLK_f:
|
||||
if (!shift && !repeat && down) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user