Skip to content

Input name is too generic #10853

@Nilirad

Description

@Nilirad

bevy_input contains a struct called Input which refers to any kind of "pressable input". The problem is that Input is too generic, since there are other kinds of input like axis input, that do not fit into there, misleading users that have not yet read the documentation.
Input should be renamed to something more specific.

This may have the drawback of a longer name, but personally I don't mind since it's not a thing that's used everywhere, so it's worth it to be more specific IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreC-Code-QualityA section of code that is hard to understand or changeM-Migration-GuideA breaking change to Bevy's public API that needs to be noted in a migration guide

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions