Add controller alias mapping and fix ChildButton mouse binding persistence / 新增手柄别名映射并修复 ChildButton 鼠标绑定保存问题#222
Open
kingfen-wu wants to merge 6 commits into
Open
Add controller alias mapping and fix ChildButton mouse binding persistence / 新增手柄别名映射并修复 ChildButton 鼠标绑定保存问题#222kingfen-wu wants to merge 6 commits into
kingfen-wu wants to merge 6 commits into
Conversation
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 / 概要
Add controller alias support across the keymapping pipeline, and fix
ChildButtonso mouse button bindings are saved correctly.补齐手柄别名在 keymapping 链路中的支持,并修复
ChildButton保存鼠标按键绑定时出错的问题。Changes / 改动内容
add readable controller aliases with legacy short-name compatibility
新增可读手柄别名,并兼容旧短名
register controller actions with both readable names and legacy aliases
运行时同时注册完整手柄名称和旧别名
recognize
Left ThumbstickandRight Thumbstickexplicitly显式识别
Left Thumbstick和Right Thumbstickallow draggable actions to use the bound input source instead of hardcoded mouse movement
让拖拽动作跟随绑定输入源,而不是写死为鼠标移动
fix
ChildButtonmouse button bindings being restored as the wrong key after saving修复
ChildButton保存后鼠标按键绑定被错误还原的问题Testing / 测试
verified controller mappings can be saved and triggered
已验证手柄映射可以正确保存并触发
verified draggable actions work with thumbstick-bound input
已验证拖拽动作可由绑定到摇杆的输入驱动
verified mouse button bindings in
ChildButtonno longer change after saving已验证
ChildButton中的鼠标按键绑定保存后不再错误变化