diff --git a/README.md b/README.md index bf5e16de..1e8fdb54 100644 --- a/README.md +++ b/README.md @@ -493,7 +493,6 @@ requested orientation. It is possible to synchronize clipboards between the computer and the device, in both directions: - - `RCtrl`+`c` copies the device clipboard to the computer clipboard; - `RCtrl`+`v` _pastes_ the computer clipboard as a sequence of text events (but breaks non-ASCII characters). @@ -581,7 +580,6 @@ device). | Rotate device screen | `RCtrl`+`r` | Expand notification panel | `RCtrl`+`n` | Collapse notification panel | `RCtrl`+`Shift`+`n` - | Copy device clipboard to computer | `RCtrl`+`c` | Paste computer clipboard to device | `RCtrl`+`v` | Enable/disable FPS counter (on stdout) | `RCtrl`+`i` diff --git a/app/scrcpy.1 b/app/scrcpy.1 index 52ce51cd..232ccf25 100644 --- a/app/scrcpy.1 +++ b/app/scrcpy.1 @@ -277,10 +277,6 @@ Expand notification panel .B RCtrl+Shift+n Collapse notification panel -.TP -.B RCtrl+c -Copy device clipboard to computer - .TP .B RCtrl+v Paste computer clipboard to device diff --git a/app/src/cli.c b/app/src/cli.c index 1a6b946b..c7f10a56 100644 --- a/app/src/cli.c +++ b/app/src/cli.c @@ -242,9 +242,6 @@ scrcpy_print_usage(const char *arg0) { " RCtrl+Shift+n\n" " Collapse notification panel\n" "\n" - " RCtrl+c\n" - " Copy device clipboard to computer\n" - "\n" " RCtrl+v\n" " Paste computer clipboard to device\n" "\n" diff --git a/app/src/input_manager.c b/app/src/input_manager.c index cf17cc78..b098d12b 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -101,16 +101,6 @@ collapse_notification_panel(struct controller *controller) { } } -static void -request_device_clipboard(struct controller *controller) { - struct control_msg msg; - msg.type = CONTROL_MSG_TYPE_GET_CLIPBOARD; - - if (!controller_push_msg(controller, &msg)) { - LOGW("Could not request device clipboard"); - } -} - static void set_device_clipboard(struct controller *controller, bool paste) { char *text = SDL_GetClipboardText(); @@ -341,11 +331,6 @@ input_manager_process_key(struct input_manager *im, rotate_client_right(im->screen); } return; - case SDLK_c: - if (control && !shift && !repeat && down) { - request_device_clipboard(controller); - } - return; case SDLK_v: if (control && !shift && !repeat && down) { // Inject the text as input events