2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-31 06:15:25 +00:00

Improve HID keyboard documentation

Explain how to configure the keyboard layout.
This commit is contained in:
Romain Vimont
2021-11-26 21:19:39 +01:00
parent 1a6caeb18c
commit 82a053015d
3 changed files with 23 additions and 1 deletions

View File

@@ -165,7 +165,14 @@ static const struct sc_option options[] = {
"generate non-ASCII characters, contrary to the default "
"injection method.\n"
"It may only work over USB, and is currently only supported "
"on Linux.",
"on Linux.\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 "
"directly: `adb shell am start -a "
"android.settings.HARD_KEYBOARD_SETTINGS`.\n"
"However, the option is only available when the HID keyboard "
"is enabled (or a physical keyboard is connected).",
},
{
.shortopt = 'h',