scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Function key not working

Open Jacques-Olivier-Farcy opened this issue 3 years ago • 5 comments

  • [x] I have read the FAQ.
  • [x] I have searched in existing issues.

Environment

  • OS: [e.g. Debian, Windows, macOS...] : OS on Odroid C2 Android 6
  • scrcpy version: 1.24
  • installation method: Windows download
  • device model: Odroid C2
  • Android version: 6

Describe the bug The F1-F12 function keys does'nt work with distant keyboard. They work fine with an USB direct keyboard on the device.

Jacques-Olivier-Farcy avatar May 12 '22 16:05 Jacques-Olivier-Farcy

Even in --hid-keyboard (or --otg)?

rom1v avatar May 12 '22 16:05 rom1v

I can't use these options

PS D:\temp\SCRCPY> .\scrcpy.exe --tcpip=192.168.1.222 --encoder OMX.google.h264.encoder --hid-keyboard
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
ERROR: On Windows, it is not possible to open a USB device already open by another process (like adb).
ERROR: Therefore, -K/--hid-keyboard and -M/--hid-mouse may only work in OTG mode (--otg).

Jacques-Olivier-Farcy avatar May 12 '22 19:05 Jacques-Olivier-Farcy

So --otg? (over USB)

rom1v avatar May 13 '22 05:05 rom1v

Also an error :

PS D:\temp\SCRCPY> .\scrcpy.exe --tcpip=192.168.1.222 --encoder OMX.google.h264.encoder --otg
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
INFO: Killing adb daemon (if any)...
ERROR: Could not find any USB device

Jacques-Olivier-Farcy avatar May 13 '22 06:05 Jacques-Olivier-Farcy

Same :

$> scrcpy --window-width=2560 --window-height=1440 --hid-keyboard
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
ERROR: On Windows, it is not possible to open a USB device already open by another process (like adb).
ERROR: Therefore, -K/--hid-keyboard and -M/--hid-mouse may only work in OTG mode (--otg).

EArminjon avatar Feb 13 '23 19:02 EArminjon