Skip to content

Commit 3eb4bea

Browse files
it-me-jodacart
authored andcommitted
add gamepad to bevy_gilrs feature flag (#22320)
# Objective - Resolve discrepancy between documentation and implementation of the `bevy_gilrs` and `gamepad` feature flag - Fixes #22319 ## Solution - Added `gamepad` to `bevy_gilrs` per the documentation ## Testing - I recompiled Bevy with and without this change and ensured no failure to compile
1 parent 15d7662 commit 3eb4bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ bevy_post_process = ["bevy_internal/bevy_post_process"]
310310
bevy_anti_alias = ["bevy_internal/bevy_anti_alias"]
311311

312312
# Adds gamepad support
313-
bevy_gilrs = ["bevy_internal/bevy_gilrs"]
313+
bevy_gilrs = ["gamepad", "bevy_internal/bevy_gilrs"]
314314

315315
# [glTF](https://www.khronos.org/gltf/) support
316316
bevy_gltf = ["bevy_internal/bevy_gltf"]

0 commit comments

Comments
 (0)