Add --list-displays

Add an option to list the device displays properly.
This commit is contained in:
Romain Vimont
2023-02-23 23:10:15 +01:00
parent 2596ca02f0
commit b65301f672
14 changed files with 69 additions and 28 deletions

View File

@@ -718,7 +718,7 @@ scrcpy --display=1
The list of display ids can be retrieved by:
```bash
adb shell dumpsys display # search "mDisplayId=" in the output
scrcpy --list-displays
```
The secondary display may only be controlled if the device runs at least Android