diff --git a/FAQ.md b/FAQ.md
index 25bae5d5..a6eaeefa 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -159,6 +159,8 @@ In developer options, enable:
> **USB debugging (Security settings)**
> _Allow granting permissions and simulating input via USB debugging_
+Rebooting the device is necessary once this option is set.
+
[simulating input]: https://github.com/Genymobile/scrcpy/issues/70#issuecomment-373286323
@@ -168,12 +170,12 @@ The default text injection method is [limited to ASCII characters][text-input].
A trick allows to also inject some [accented characters][accented-characters],
but that's all. See [#37].
-Since scrcpy v1.20, it is possible to simulate a [physical keyboard][hid] (HID).
+It is also possible to simulate a [physical keyboard][hid] (HID).
[text-input]: https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3Aunicode
[accented-characters]: https://blog.rom1v.com/2018/03/introducing-scrcpy/#handle-accented-characters
[#37]: https://github.com/Genymobile/scrcpy/issues/37
-[hid]: README.md#physical-keyboard-simulation-hid
+[hid]: doc/hid-otg.md
## Client issues
@@ -229,4 +231,4 @@ Translations of this FAQ in other languages are available in the [wiki].
[wiki]: https://github.com/Genymobile/scrcpy/wiki
-Only this README file is guaranteed to be up-to-date.
+Only this FAQ file is guaranteed to be up-to-date.
diff --git a/README.md b/README.md
index 8b9e4d46..9002031d 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Its features include:
- mirroring with [Android device screen off](doc/device.md#turn-screen-off)
- [copy-paste](doc/control.md#copy-paste) in both directions
- [configurable quality](doc/video.md)
- - Android device [as a webcam (V4L2)](doc/v4l2.md) (Linux-only)
+ - Android device screen [as a webcam (V4L2)](doc/v4l2.md) (Linux-only)
- [physical keyboard/mouse simulation (HID)](doc/hid-otg.md)
- [OTG mode](doc/hid-otg.md#otg)
- and more…
@@ -39,7 +39,7 @@ Its features include:
The Android device requires at least API 21 (Android 5.0).
-[Audio forwarding](doc/audio.md) is supported from API 30 (Android 11).
+[Audio forwarding](doc/audio.md) is supported for API >= 30 (Android 11+).
Make sure you [enabled USB debugging][enable-adb] on your device(s).
@@ -47,10 +47,14 @@ Make sure you [enabled USB debugging][enable-adb] on your device(s).
On some devices, you also need to enable [an additional option][control] `USB
debugging (Security Settings)` (this is an item different from `USB debugging`)
-to control it using a keyboard and mouse.
+to control it using a keyboard and mouse. Rebooting the device is necessary once
+this option is set.
[control]: https://github.com/Genymobile/scrcpy/issues/70#issuecomment-373286323
+Note that USB debugging is not required to run scrcpy in [OTG
+mode](doc/hid-otg.md#otg).
+
## Get the app
diff --git a/app/scrcpy.1 b/app/scrcpy.1
index 0c91701f..c1378d8b 100644
--- a/app/scrcpy.1
+++ b/app/scrcpy.1
@@ -21,7 +21,7 @@ Make scrcpy window always on top (above other windows).
.TP
.BI "\-\-audio\-bit\-rate " value
-Encode the audio at the given bit\-rate, expressed in bits/s. Unit suffixes are supported: '\fBK\fR' (x1000) and '\fBM\fR' (x1000000).
+Encode the audio at the given bit rate, expressed in bits/s. Unit suffixes are supported: '\fBK\fR' (x1000) and '\fBM\fR' (x1000000).
Default is 128K (128000).
@@ -71,7 +71,7 @@ Default is 5.
.TP
.BI "\-b, \-\-video\-bit\-rate " value
-Encode the video at the given bit\-rate, expressed in bits/s. Unit suffixes are supported: '\fBK\fR' (x1000) and '\fBM\fR' (x1000000).
+Encode the video at the given bit rate, expressed in bits/s. Unit suffixes are supported: '\fBK\fR' (x1000) and '\fBM\fR' (x1000000).
Default is 8M (8000000).
diff --git a/app/src/cli.c b/app/src/cli.c
index 72f4bea1..37a98426 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -124,7 +124,7 @@ static const struct sc_option options[] = {
.longopt_id = OPT_AUDIO_BIT_RATE,
.longopt = "audio-bit-rate",
.argdesc = "value",
- .text = "Encode the audio at the given bit-rate, expressed in bits/s. "
+ .text = "Encode the audio at the given bit rate, expressed in bits/s. "
"Unit suffixes are supported: 'K' (x1000) and 'M' (x1000000).\n"
"Default is 128K (128000).",
},
@@ -185,7 +185,7 @@ static const struct sc_option options[] = {
.shortopt = 'b',
.longopt = "video-bit-rate",
.argdesc = "value",
- .text = "Encode the video at the given bit-rate, expressed in bits/s. "
+ .text = "Encode the video at the given bit rate, expressed in bits/s. "
"Unit suffixes are supported: 'K' (x1000) and 'M' (x1000000).\n"
"Default is 8M (8000000).",
},
diff --git a/doc/audio.md b/doc/audio.md
index fd17931e..6bb17a87 100644
--- a/doc/audio.md
+++ b/doc/audio.md
@@ -71,6 +71,13 @@ scrcpy --audio-codec=aac
scrcpy --audio-codec=raw
```
+In particular, if you get the following error:
+
+> Failed to initialize audio/opus, error 0xfffffffe
+
+then your device has no Opus encoder: try `scrcpy --audio-codec=aac`.
+
+
Several encoders may be available on the device. They can be listed by:
```bash
@@ -91,7 +98,7 @@ check `--audio-codec-options` in the manpage or in `scrcpy --help`.
## Bit rate
-The default video bit-rate is 128Kbps. To change it:
+The default audio bit rate is 128Kbps. To change it:
```bash
scrcpy --audio-bit-rate=64K
diff --git a/doc/hid-otg.md b/doc/hid-otg.md
index c64af752..7dfc60fc 100644
--- a/doc/hid-otg.md
+++ b/doc/hid-otg.md
@@ -106,3 +106,7 @@ scrcpy --otg # keyboard and mouse
Like `--hid-keyboard` and `--hid-mouse`, it only works if the device is
connected over USB.
+
+## HID/OTG issues on Windows
+
+See [FAQ](/FAQ.md#hidotg-issues-on-windows).
diff --git a/doc/linux.md b/doc/linux.md
index bc354959..68b4ee10 100644
--- a/doc/linux.md
+++ b/doc/linux.md
@@ -9,12 +9,10 @@ Scrcpy is packaged in several distributions and package managers:
- Debian/Ubuntu: `apt install scrcpy`
- Arch Linux: `pacman -S scrcpy`
- Fedora: `dnf copr enable zeno/scrcpy && dnf install scrcpy`
- - Gentoo: [ebuild][ebuild-link] file
+ - Gentoo: `emerge scrcpy`
- Snap: `snap install scrcpy`
- … (see [repology](https://repology.org/project/scrcpy/versions))
-[ebuild-link]: https://github.com/maggu2810/maggu2810-overlay/tree/master/app-mobilephone/scrcpy
-
### Latest version
However, the packaged version is not always the latest release. To install the
diff --git a/doc/shortcuts.md b/doc/shortcuts.md
index 6528e7b4..5e706402 100644
--- a/doc/shortcuts.md
+++ b/doc/shortcuts.md
@@ -29,7 +29,7 @@ _[Super] is typically the Windows or Cmd key._
| Resize window to 1:1 (pixel-perfect) | MOD+g
| Resize window to remove black borders | MOD+w \| _Double-left-click¹_
| Click on `HOME` | MOD+h \| _Middle-click_
- | Click on `BACK` | MOD+b \| _Right-click²_
+ | Click on `BACK` | MOD+b \| MOD+Backspace \| _Right-click²_
| Click on `APP_SWITCH` | MOD+s \| _4th-click³_
| Click on `MENU` (unlock screen)⁴ | MOD+m
| Click on `VOLUME_UP` | MOD+↑ _(up)_
diff --git a/doc/video.md b/doc/video.md
index 5e7344d9..67372a5c 100644
--- a/doc/video.md
+++ b/doc/video.md
@@ -21,7 +21,7 @@ If encoding fails, scrcpy automatically tries again with a lower definition
## Bit rate
-The default video bit-rate is 8 Mbps. To change it:
+The default video bit rate is 8 Mbps. To change it:
```bash
scrcpy --video-bit-rate=2M
diff --git a/doc/windows.md b/doc/windows.md
index 521ad45e..2cbd99b6 100644
--- a/doc/windows.md
+++ b/doc/windows.md
@@ -15,7 +15,13 @@ Download the [latest release]:
and extract it.
-Alternatively, you could install it from packages manager, like [Chocolatey]:
+Alternatively, you could install it from packages manager, like [Winget]:
+
+```bash
+winget install scrcpy
+```
+
+or [Chocolatey]:
```bash
choco install scrcpy
@@ -30,6 +36,7 @@ scoop install scrcpy
scoop install adb # if you don't have it yet
```
+[Winget]: https://github.com/microsoft/winget-cli
[Chocolatey]: https://chocolatey.org/
[Scoop]: https://scoop.sh