环境
- 操作系统:macOS 13.5.2
- scrcpy版本:2.1.1
- 安装方法:brew
- 设备型号:谷歌 Pixel 6
- 安卓版本:GrapheneOS 13
描述错误 当连接时,它的行为就像大写锁定已打开一样。如果我按住 Shift 键,它将输入小写字母,否则我只会输入大写字母。如果我按任何其他键,我会得到正确的输出,因此 1 键给我一个 1 而不是 !。如果我不使用 --hid-keyboard 它会按预期工作。这是间歇性的,但一旦出现这种情况,断开连接并重新连接并不能解决问题。
使用的 CLI 选项: --turn-screen-off \ --stay-awake \ --lock-video-orientation=0 \ --rotation=0 \ --window-x=1600 --window-y=25 --窗口高度=1024 \ --max-size=1024 \ --push-target="/sdcard/Download" \ --verbosity=warn \ --select-usb \ --audio-bit-rate=320K \ - -audio-codec=aac \ --audio-encoder=c2.android.aac.encoder \ --audio-source=输出 \ --video-bit-rate=8M \ --video-codec=h265 \ --hid -键盘