-
Notifications
You must be signed in to change notification settings - Fork 494
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
支持触控输入 #900
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
如何屏蔽黑边上的点击直接将 srcRect 映射到 destRect 是天真的想法。似乎可以创建一个全屏的背景窗口来屏蔽黑边,就像 fix/touchTransform 分支所做的,此方案的问题是无法解决源窗口和黑边的重叠部分。作为黑边,本应拦截用户点击,但这也拦截了对源窗口的操作;若是不拦截会导致在黑边上可以操作源窗口。 现在的方案是:将源窗口和其周围映射到整个缩放窗口,并在源窗口四周创建背景窗口拦截对黑边的点击。注意这些背景窗口不能由 TouchHelper.exe 创建,因为它有 UIAccess 权限,创建的窗口会遮盖缩放窗口。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #218
添加 TouchHelper.exe 用于调用 MagSetInputTransform。为了获得 UIAccess 权限,当启用触控支持时执行以下操作:
关闭触控支持将撤销这些操作。
自签名证书位于 certs\Magpie.pfx,出于安全考虑,密码不会公开,只能通过 CI 签名。如果自行编译,启用触控支持选项无法使用,除非编译者自己提供证书。