mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-31 04:14:27 +01:00
Add UHID keyboard support
Use the following command:
scrcpy --keyboard=uhid
Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
a6978cb059
commit
2fbbb2ac65
@@ -116,7 +116,7 @@ _scrcpy() {
|
||||
return
|
||||
;;
|
||||
--keyboard)
|
||||
COMPREPLY=($(compgen -W 'disabled sdk aoa' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'disabled sdk aoa uhid' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--mouse)
|
||||
|
||||
@@ -34,7 +34,7 @@ arguments=(
|
||||
'--force-adb-forward[Do not attempt to use \"adb reverse\" to connect to the device]'
|
||||
'--forward-all-clicks[Forward clicks to device]'
|
||||
{-h,--help}'[Print the help]'
|
||||
'--keyboard[Set the keyboard input mode]:mode:(disabled sdk aoa)'
|
||||
'--keyboard[Set the keyboard input mode]:mode:(disabled sdk aoa uhid)'
|
||||
'--kill-adb-on-close[Kill adb when scrcpy terminates]'
|
||||
'--legacy-paste[Inject computer clipboard text as a sequence of key events on Ctrl+v]'
|
||||
'--list-camera-sizes[List the valid camera capture sizes]'
|
||||
|
||||
Reference in New Issue
Block a user