mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-03 08:06:02 +00:00
Add UHID mouse support
Use the following command: scrcpy --mouse=uhid PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473>
This commit is contained in:
parent
151a6225d4
commit
6a103c809f
9 changed files with 135 additions and 8 deletions
|
@ -120,7 +120,7 @@ _scrcpy() {
|
|||
return
|
||||
;;
|
||||
--mouse)
|
||||
COMPREPLY=($(compgen -W 'disabled sdk aoa' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'disabled sdk uhid aoa' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--orientation|--display-orientation)
|
||||
|
|
|
@ -44,7 +44,7 @@ arguments=(
|
|||
'--lock-video-orientation=[Lock video orientation]:orientation:(unlocked initial 0 90 180 270)'
|
||||
{-m,--max-size=}'[Limit both the width and height of the video to value]'
|
||||
'--max-fps=[Limit the frame rate of screen capture]'
|
||||
'--mouse[Set the mouse input mode]:mode:(disabled sdk aoa)'
|
||||
'--mouse[Set the mouse input mode]:mode:(disabled sdk uhid aoa)'
|
||||
{-n,--no-control}'[Disable device control \(mirror the device in read only\)]'
|
||||
{-N,--no-playback}'[Disable video and audio playback]'
|
||||
'--no-audio[Disable audio forwarding]'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue