Skip to content

Inverse lookup of controls #19

@weakman54

Description

@weakman54

Having the ability of checking which inputs match which actions would be helpful in some situations, for example in tutorials. For example showing all the controls corresponding to "attack" with a message along the lines of "To counter an enemy attack, press attack {Show graphics corresponding to the controls attached to "attack"}

I'm pretty sure this is pretty easy to get at already by digging into the config table, but would be nice to have "official" functions for it.

Other features I realized might be nice: Pattern matching for these too (see my other issue: #18 ) and/or a flag to only get the controls that correspond to the current active control-method (keyboard vs. controller)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions