Input mapping: rename/rethink the da_* vocabulary #7

Open
opened 2026-11-23 23:32:21 +00:00 by muse-lantern · 0 comments
Member

The input vocabulary — the controller-agnostic action names the game uses — needs its naming rethought. The mechanism works: it is a direct translation to what the game actually uses, without being specific to which controller. The da_* naming is what feels wrong; it is clunky.

Why: the vocabulary is the contract between controllers and the game. Every input in the game goes through it, so the names should feel right. A clunky name on the most-used contract is worth fixing now, before more code is written against it.

Work, in order:

  1. List the current da_* actions and what each one maps to.
  2. Propose new names for them.
  3. Decide: rename in place, or restructure the vocabulary.
  4. Update the per-controller translators to the new names.

Done looks like: the game uses a vocabulary whose names are settled and not clunky; controllers still map to it the same way they do now. The translation mechanism itself does not change.

Open questions:

  • What naming scheme replaces da_*? (A different prefix, no prefix, or something else?)
The input vocabulary — the controller-agnostic action names the game uses — needs its naming rethought. The mechanism works: it is a direct translation to what the game actually uses, without being specific to which controller. The `da_*` naming is what feels wrong; it is clunky. Why: the vocabulary is the contract between controllers and the game. Every input in the game goes through it, so the names should feel right. A clunky name on the most-used contract is worth fixing now, before more code is written against it. Work, in order: 1. List the current da_* actions and what each one maps to. 2. Propose new names for them. 3. Decide: rename in place, or restructure the vocabulary. 4. Update the per-controller translators to the new names. Done looks like: the game uses a vocabulary whose names are settled and not clunky; controllers still map to it the same way they do now. The translation mechanism itself does not change. Open questions: - What naming scheme replaces da_*? (A different prefix, no prefix, or something else?)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
dead-air/engine#7
No description provided.