mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-26 00:54:27 +01:00
Add UHID mouse support
Use the following command:
scrcpy --mouse=uhid
This commit is contained in:
@@ -120,7 +120,7 @@ _scrcpy() {
|
||||
return
|
||||
;;
|
||||
--mouse)
|
||||
COMPREPLY=($(compgen -W 'disabled sdk aoa' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'disabled sdk aoa uhid' -- "$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 aoa uhid)'
|
||||
{-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]'
|
||||
|
||||
Reference in New Issue
Block a user