-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
希望能适配一下 WSA (Windows 11) #268
Comments
WSA 目前没有实现 AOSP screencap 需要的接口,无法进行截图。 可能的解决方案:
|
WSA 1.8.32836.0 版本已经修好了 gralloc,可以通过 screencap 进行截图。 |
需要解决的问题:
|
你需要pywin32库,里面有EnumWindows方法枚举所有窗口的元数据,还有SetWindowRect方法设置窗口尺寸,但不清楚处理WSA窗口是否需要管理员权限。 |
这个我知道,但是目前 WSA 的图形性能还没达到能玩的标准,所以就先鸽着了( |
那我多虑了,我还以为都能玩游戏了( |
新版 WSA 改用了安卓的原生多窗口机制,已经无法通过 adb 可靠截图/控制了。 win32 控制不支持多点触摸,所以先来个 wontfix 吧( |
现在代码不经任何修改就可以正常跑该脚本。简单起见只跑方舟窗口,用 F11 快捷键对窗口真全屏后可以让截图黑框消失,此时 screencaps 可以正常进行屏幕截取。 |
No description provided.
The text was updated successfully, but these errors were encountered: