github Genymobile/scrcpy v1.20
scrcpy v1.20

latest releases: v2.4, v2.3.1, v2.3...
2 years ago

To receive a notification on new releases, click on Watch > Releases only on the top.


scrcpy v1.20

Changes since v1.19:

  • Add official high-resolution icon (#1497, #1987)
  • Add HID keyboard support on Linux (#2632)
  • Adapt --help output to terminal size
  • Rework server initialization to avoid unresponsive Ctrl+c sometimes
  • Remove deprecated short options -T and -c
  • Fix "Could not find v4l2 muxer" (#2718)
  • Fix workarounds for Meizu devices (#240, #2656)
  • Fix support for expand notification feature on some devices (#2551)
  • Various technical refactors and fixes

Highlights

New scrcpy icon

Scrcpy used a low-definition XPM icon. Its source code was cool, but the result was awful.

This version introduces a new official icon (designed by @varlesh, author of the papirus icon theme):

scrcpy

HID keyboard

By default, scrcpy uses Android key or text injection: it works everywhere, but is (basically) limited to ASCII characters.

It is now possible to simulate a physical USB keyboard (#2632 by @AlynxZhou): the virtual keyboard is disabled and it works for all characters and IME.

However, it only works if the device is connected by USB, and is currently only supported on Linux (you could help making it work on Windows and macOS).

To enable this mode:

scrcpy --hid-keyboard
scrcpy -K  # short version

If it fails for some reason (for example because the device is not connected via USB), it automatically fallbacks to the default mode (with a log in the console). This allows to use the same command line options when connected over USB and TCP/IP.

In this mode, raw key events (scancodes) are sent to the device, independently of the host key mapping. Therefore, if your keyboard layout does not match, it must be configured on the Android device, in Settings → System → Languages and input → Physical keyboard.

Remove deprecated short options

Some command line options were first introduced with a short version:

  • -c/--crop
  • -T/--always-on-top

Since these are "advanced" features (not common enough), the short version of these options had been deprecated in scrcpy v1.11 two years ago. It's time to remove them (and it simplified some refactors). Only the long version remains.

Don't miss a new scrcpy release

NewReleases is sending notifications on new releases.