Display and control your Android device
Remove "linux-only" mentions for HID/OTG features
Romain Vimont82a99f69ec46
diff --git a/app/scrcpy.1 b/app/scrcpy.1index 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 (relLAlt, 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 mouIf 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.cindex 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.",},{