2394425147 / 2394425147/astrodx

[Feature] Support Keyboard Input Mapping to 8 In-Game Buttons

未关闭
#257 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
C#
星标
1.9k
派生
63
PR 合并指标
30 天内没有已合并 PR

描述

### Is your feature request related to a problem?

I'm building a physical 8-key attachment for tablets that works by simulating keyboard presses (via USB). To make it usable with AstroDX, please add support for mapping arbitrary keyboard keys to the 8 in-game touch buttons.

### Describe the feature

A simple config file or in-app settings would suffice. Suggested default layout: A S D F for left 4, J K L ; for right 4, but user-customizable is ideal.

### Reason for adding

I'm building a physical 8-key attachment for tablets that works by simulating keyboard presses (via USB). To make it usable with AstroDX, please add support for mapping arbitrary keyboard keys to the 8 in-game touch buttons.

### Example(s)

_No response_

### Additional context

_No response_

贡献指南

这个仓库没有索引到贡献指南

调研方向

查找输入处理代码,可能在一个管理触摸或按钮按下的类中。该功能需要添加键盘事件监听器,并将它们映射到现有的 8 个按钮操作。检查是否已有可扩展的 settings 或配置系统。通过构建并运行游戏进行测试,然后按下建议的默认按键,查看它们是否触发正确的按钮操作。

由索引模型根据 Issue 内容生成。

评估

领域
game-dev
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。