Crates.io | bevy-egui-kbgp |
lib.rs | bevy-egui-kbgp |
version | |
source | src |
created_at | 2022-03-21 21:37:29.881006+00 |
updated_at | 2025-02-17 18:37:07.00768+00 |
description | Better keyboard and gamepad story for egui in Bevy |
homepage | |
repository | https://github.com/idanarye/bevy-egui-kbgp |
max_upload_size | |
id | 554334 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
egui is an immediate mode GUI framework, that can be used inside the Bevy game engine with the bevy_egui crate.
egui is very mouse-oriented, and while it does support tab-navigation, game menus should be navigatable by the arrow keys (and/or by WASD) and by gamepads.
This is where the bevy-egui-kbgp crate comes in. It allows to navigate egui widgets using the keyboard's arrow keys and using a gamepad's d-pad and left joystick (by default - all the controls can be redfined). It also allows activating these buttons from the gamepad.
Try it out in https://idanarye.github.io/bevy-egui-kbgp/demos/example
bevy | bevy_egui | bevy-egui-kbgp |
---|---|---|
0.15 | 0.33 | 0.23 |
0.15 | 0.32 | 0.22 |
0.15 | 0.31 | 0.21 |
0.14 | 0.28 | 0.20 |
0.13 | 0.27 | 0.19 |
0.13 | 0.26 | 0.18 |
0.13 | 0.25 | 0.17 |
0.12 | 0.23 | 0.16 |
0.11 | 0.22 | 0.15 |
0.11 | 0.21 | 0.14 |
0.10 | 0.20 | 0.12, 0.13 |
0.9 | 0.19 | 0.11 |
0.9 | 0.18 | 0.10 |
0.9 | 0.17 | 0.9 |
0.8 | 0.16 | 0.8 |
0.8 | 0.15 | 0.7 |
0.7 | 0.14 | 0.6 |
0.7 | 0.13 | 0.5 |
0.6 | 0.12 | 0.1 - 0.4 |
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.