Remove "linux-only" mentions for HID/OTG features

HID/OTG features are not limited to Linux anymore.

PR #3031 <https://github.com/Genymobile/scrcpy/pull/3031>
This commit is contained in:
Romain Vimont 2022-02-17 21:40:01 +01:00
parent 33202491e1
commit 82a99f69ec
2 changed files with 6 additions and 9 deletions

View file

@ -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. 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: 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. 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. 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. 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. See \fB\-\-hid\-keyboard\fR and \fB\-\-hid\-mouse\fR.

View file

@ -186,8 +186,7 @@ static const struct sc_option options[] = {
"It provides a better experience for IME users, and allows to " "It provides a better experience for IME users, and allows to "
"generate non-ASCII characters, contrary to the default " "generate non-ASCII characters, contrary to the default "
"injection method.\n" "injection method.\n"
"It may only work over USB, and is currently only supported " "It may only work over USB.\n"
"on Linux.\n"
"The keyboard layout must be configured (once and for all) on " "The keyboard layout must be configured (once and for all) on "
"the device, via Settings -> System -> Languages and input -> " "the device, via Settings -> System -> Languages and input -> "
"Physical keyboard. This settings page can be started " "Physical keyboard. This settings page can be started "
@ -239,8 +238,7 @@ static const struct sc_option options[] = {
"device directly (relative mouse mode).\n" "device directly (relative mouse mode).\n"
"LAlt, LSuper or RSuper toggle the capture mode, to give " "LAlt, LSuper or RSuper toggle the capture mode, to give "
"control of the mouse back to the computer.\n" "control of the mouse back to the computer.\n"
"It may only work over USB, and is currently only supported " "It may only work over USB.\n"
"on Linux.\n"
"Also see --hid-keyboard.", "Also see --hid-keyboard.",
}, },
{ {
@ -311,8 +309,7 @@ static const struct sc_option options[] = {
"control of the mouse back to the computer.\n" "control of the mouse back to the computer.\n"
"If any of --hid-keyboard or --hid-mouse is set, only enable " "If any of --hid-keyboard or --hid-mouse is set, only enable "
"keyboard or mouse respectively, otherwise enable both.\n" "keyboard or mouse respectively, otherwise enable both.\n"
"It may only work over USB, and is currently only supported " "It may only work over USB.\n"
"on Linux.\n"
"See --hid-keyboard and --hid-mouse.", "See --hid-keyboard and --hid-mouse.",
}, },
{ {