Skip to content

scrcpy v2.7

Latest
Compare
Choose a tag to compare
@rom1v rom1v released this 15 Sep 19:30
· 1 commit to master since this release
v2.7

To receive a notification when a new release is available, click on Watch > Custom > Releases at the top.


scrcpy v2.7

Changes since v2.6.1:

  • Add gamepad support (#99, #2130, #5270)
  • Fix workarounds for ONYX devices (#5182)
  • Accept float values for --max-fps (265a15e)
  • Upgrade SDL to 2.30.7 in Windows releases
  • Various technical fixes

Highlights

Gamepad support

With this new version, it is possible to play Android games using game controllers (for example a PS4/PS5 or XBox gamepad) connected to the computer (provided that the game supports gamepads).

Like physical keyboard and mouse simulation, gamepads can use either UHID or AOA.

To enable gamepad support, just run:

scrcpy -G

It can work without mirroring:

scrcpy --no-video --no-audio -G

and in OTG mode (i.e. without requiring USB debugging):

scrcpy --otg -G

More details in #5270 and in the documentation.

--max-fps improvement

Android accepts floating point values for the frame rate limitation, but --max-fps only accepted integers. Now, it accepts floating point values.

In particular, this allows to capture at a frame rate lower than 1 fps. For example, to capture 1 frame every 5 seconds:

scrcpy --video-source=camera --camera-size=1920x1080 --max-fps=0.2 --record=file.mp4

This might be useful for creating a timelapse. (The video can be sped up afterwards with FFmpeg.)