fix: wlroots use_win32_vk_code method signature#28
Merged
Conversation
moomiji
approved these changes
Jul 8, 2026
This file contains hidden or 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
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.
Summary by Sourcery
更新 WlRoots 控制器的创建逻辑,接受并传递用于按键输入转换的 Win32 虚拟键模式标志。
新功能:
MaaWlRootsController新增可选参数useWin32VirtualKeyCodes,用于控制按键码是按 Win32 虚拟键码还是按原始 evdev 码进行解释。错误修复:
use_win32_vk_code布尔参数,使MaaWlRootsControllerCreate的 P/Invoke 签名与原生 API 对齐。增强项:
MaaWlRootsController的调试器显示内容,包含UseWin32VirtualKeyCodes标志,以提升调试可见性。Original summary in English
Summary by Sourcery
Update WlRoots controller creation to accept and propagate a Win32 virtual-key mode flag for key input translation.
New Features:
Bug Fixes:
Enhancements: