zoukankan      html  css  js  c++  java
  • 手机控制工具 scrcpy 的使用

    最新博客链接

    工具简介

    This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and macOS.

    Github README

    本应用程序可以显示并控制通过 USB (或 TCP/IP) 连接的安卓设备,且不需要任何 root 权限。本程序支持 GNU/Linux, WindowsmacOS

    —— scrcpy 中文说明文档

    常用命令

    .scrcpy.exe -m 600 -b 100M --max-fps 60 --window-title 'Pixel XL'  --always-on-top -Sw -t --push-target /sdcard/Download/From_computer/
    
    E:Stand_alonescrcpyscrcpy.exe --max-fps 60 --window-title 'Pixel XL'  --always-on-top -Sw -t --push-target /sdcard/Download/From_computer/
    
    --max-size -m # short version high
    --bit-rate -b
    --max-fps
    --stay-awake -w
    --turn-screen-off -S
    --show-touches -t
    

    Shortcuts

    Action Shortcut Shortcut (macOS)
    Switch fullscreen mode Ctrl+f Cmd+f
    Rotate display left Ctrl+ (left) Cmd+ (left)
    Rotate display right Ctrl+ (right) Cmd+ (right)
    Resize window to 1:1 (pixel-perfect) Ctrl+g Cmd+g
    Resize window to remove black borders Ctrl+x | Double-click¹ Cmd+x | Double-click¹
    Click on HOME Ctrl+h | Middle-click Ctrl+h | Middle-click
    Click on BACK Ctrl+b | Right-click² Cmd+b | Right-click²
    Click on APP_SWITCH Ctrl+s Cmd+s
    Click on MENU Ctrl+m Ctrl+m
    Click on VOLUME_UP Ctrl+ (up) Cmd+ (up)
    Click on VOLUME_DOWN Ctrl+ (down) Cmd+ (down)
    Click on POWER Ctrl+p Cmd+p
    Power on Right-click² Right-click²
    Turn device screen off (keep mirroring) Ctrl+o Cmd+o
    Turn device screen on Ctrl+Shift+o Cmd+Shift+o
    Rotate device screen Ctrl+r Cmd+r
    Expand notification panel Ctrl+n Cmd+n
    Collapse notification panel Ctrl+Shift+n Cmd+Shift+n
    Copy device clipboard to computer Ctrl+c Cmd+c
    Copy computer clipboard to device and paste Ctrl+Shift+v Cmd+Shift+v
    Enable/disable FPS counter (on stdout) Ctrl+i Cmd+i

    ¹Double-click on black borders to remove them.
    ²Right-click turns the screen on if it was off, presses BACK otherwise.

    官方教程

    本文由Tsanfer's Blog 发布!

  • 相关阅读:
    UVa 10118 记忆化搜索 Free Candies
    CodeForces 568B DP Symmetric and Transitive
    UVa 11695 树的直径 Flight Planning
    UVa 10934 DP Dropping water balloons
    CodeForces 543D 树形DP Road Improvement
    CodeForces 570E DP Pig and Palindromes
    HDU 5396 区间DP 数学 Expression
    HDU 5402 模拟 构造 Travelling Salesman Problem
    HDU 5399 数学 Too Simple
    CodeForces 567F DP Mausoleum
  • 原文地址:https://www.cnblogs.com/Tsanfer/p/14364523.html
Copyright © 2011-2022 走看看