Skip to content

Add controller alias mapping and fix ChildButton mouse binding persistence / 新增手柄别名映射并修复 ChildButton 鼠标绑定保存问题#222

Open
kingfen-wu wants to merge 6 commits into
PlayCover:masterfrom
kingfen-wu:master
Open

Conversation

@kingfen-wu
Copy link
Copy Markdown

Summary / 概要

Add controller alias support across the keymapping pipeline, and fix ChildButton so 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 Thumbstick and Right Thumbstick explicitly

  • 显式识别 Left ThumbstickRight Thumbstick

  • allow draggable actions to use the bound input source instead of hardcoded mouse movement

  • 让拖拽动作跟随绑定输入源,而不是写死为鼠标移动

  • fix ChildButton mouse 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 ChildButton no longer change after saving

  • 已验证 ChildButton 中的鼠标按键绑定保存后不再错误变化

@kingfen-wu kingfen-wu changed the title 新增手柄别名映射,并修复 ChildButton 鼠标绑定保存问题 Add controller alias mapping and fix ChildButton mouse binding persistence / 新增手柄别名映射并修复 ChildButton 鼠标绑定保存问题 May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant