From 82a99f69ec464a0637a16bdccfe5ff806777e942 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 17 Feb 2022 21:40:01 +0100 Subject: [PATCH] Remove "linux-only" mentions for HID/OTG features HID/OTG features are not limited to Linux anymore. PR #3031 --- app/scrcpy.1 | 6 +++--- app/src/cli.c | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/scrcpy.1 b/app/scrcpy.1 index 62cfe004..f9d4ba24 100644 --- a/app/scrcpy.1 +++ b/app/scrcpy.1 @@ -100,7 +100,7 @@ Simulate a physical keyboard by using HID over AOAv2. This provides a better experience for IME users, and allows to generate non-ASCII characters, contrary to the default injection method. -It may only work over USB, and is currently only supported on Linux. +It may only work over USB. The keyboard layout must be configured (once and for all) on the device, via Settings -> System -> Languages and input -> Physical keyboard. This settings page can be started directly: @@ -142,7 +142,7 @@ In this mode, the computer mouse is captured to control the device directly (rel LAlt, LSuper or RSuper toggle the capture mode, to give control of the mouse back to the computer. -It may only work over USB, and is currently only supported on Linux. +It may only work over USB. Also see \fB\-\-hid\-keyboard\fR. @@ -190,7 +190,7 @@ LAlt, LSuper or RSuper toggle the mouse capture mode, to give control of the mou If any of \fB\-\-hid\-keyboard\fR or \fB\-\-hid\-mouse\fR is set, only enable keyboard or mouse respectively, otherwise enable both. -It may only work over USB, and is currently only supported on Linux. +It may only work over USB. See \fB\-\-hid\-keyboard\fR and \fB\-\-hid\-mouse\fR. diff --git a/app/src/cli.c b/app/src/cli.c index ae88ba40..f930142e 100644 --- a/app/src/cli.c +++ b/app/src/cli.c @@ -186,8 +186,7 @@ static const struct sc_option options[] = { "It provides a better experience for IME users, and allows to " "generate non-ASCII characters, contrary to the default " "injection method.\n" - "It may only work over USB, and is currently only supported " - "on Linux.\n" + "It may only work over USB.\n" "The keyboard layout must be configured (once and for all) on " "the device, via Settings -> System -> Languages and input -> " "Physical keyboard. This settings page can be started " @@ -239,8 +238,7 @@ static const struct sc_option options[] = { "device directly (relative mouse mode).\n" "LAlt, LSuper or RSuper toggle the capture mode, to give " "control of the mouse back to the computer.\n" - "It may only work over USB, and is currently only supported " - "on Linux.\n" + "It may only work over USB.\n" "Also see --hid-keyboard.", }, { @@ -311,8 +309,7 @@ static const struct sc_option options[] = { "control of the mouse back to the computer.\n" "If any of --hid-keyboard or --hid-mouse is set, only enable " "keyboard or mouse respectively, otherwise enable both.\n" - "It may only work over USB, and is currently only supported " - "on Linux.\n" + "It may only work over USB.\n" "See --hid-keyboard and --hid-mouse.", }, {