mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Implement Debug
for Gamepads
(#5291)
Generally a good idea. I ran into this because I wanted to store `Gamepads` in a wrapper struct in https://github.com/Leafwing-Studios/leafwing-input-manager/pull/168. This PR allows the `Debug` derive used there to continue working. I could workaround this with a custom impl, but a PR upstream seemed like the right fix.
This commit is contained in:
parent
bb9706c96f
commit
2f9a886c55
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ impl Gamepad {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
/// Container of unique connected [`Gamepad`]s
|
||||
///
|
||||
/// [`Gamepad`]s are registered and deregistered in [`gamepad_connection_system`]
|
||||
|
|
Loading…
Reference in a new issue