Personal fork of bevy_input_prompts for bevy 0.19. https://github.com/jonathandw743/bevy_input_prompts
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-01 23:45:35 +01:00
asset_gen sensible defaults with asset_gen and a gamepad axis detection for kenney 2025-04-04 23:12:05 +01:00
coverage alternative icon for kenney key code 2025-04-05 16:05:10 +01:00
src update deps and remove examples 2026-07-01 23:45:35 +01:00
.gitignore added Cargo.lock to gitignore because lib 2025-05-12 21:25:09 +01:00
Cargo.lock update deps and remove examples 2026-07-01 23:45:35 +01:00
Cargo.toml update deps and remove examples 2026-07-01 23:45:35 +01:00
LICENSE-APACHE final fixes, licenses etc 2025-05-12 21:13:06 +01:00
LICENSE-MIT final fixes, licenses etc 2025-05-12 21:13:06 +01:00
README.md features 2025-05-12 21:56:49 +01:00
rustfmt.toml done mapping for now 2025-05-12 19:17:22 +01:00

bevy_input_prompts

Mappings from bevy input types to popular input prompt asset paths along with all extra options for prompts in included packs.

Bevy Version Plugin Version
0.16 0.2
(GamepadButton::South, GamepadBrand::XboxSeries).file_path_extra(Pack::Kenney, &[_color, _outline])

features

There is one feature flag for each pack. For example, use cargo add bevy_input_prompts --features kenney_input_prompts.

adding assets to your project

Make sure to call the copy_assets function in your build.rs for example:

// build.rs

fn main() {
    bevy_input_prompts::copy_assets();
}

And (for example) use cargo add bevy_input_prompts --build --features kenney_input_prompts.

This copies input prompt assets into your assets directory if they don't exist (don't worry, nothing will get overwritten).

contributing

Plug in your input device and run some examples.

If there are any issues, for example a lot of ERROR bevy_asset::server: Path not found being logged, open an issue. (Unfortunately, I don't have every input device.)

If you want to add your own prompt pack or want to fix a mapping issue, open a pull request!

These are some specific things that I can't do myself:

  • Testing different gamepad brand detection
  • Testing mappings for different controllers
  • Testing different keyboard locales (for Key and KeyboardInput not KeyCode).