2394425147 / 2394425147/astrodx

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

Open
#257 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.9k
Forks
63
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Research direction

Look for the input handling code, likely in a class managing touch or button presses. The feature requires adding keyboard event listeners and mapping them to the existing 8 button actions. Check if there's already a settings or configuration system to extend. Test by building and running the game, then pressing the suggested default keys to see if they trigger the correct button actions.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.