mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
79e7c93060
# Objective Extend the scope of Gamepad to accommodate devices that have more inputs than a typical controller. ## Solution Add additional enum variants to both _GamepadButtonType_ and _GamepadAxisType_ that supports up to 255 more non-standard buttons/axis respectively. ## Personal motivation I have been writing an alternative to the GILRS crate, and with this simple change to the source code, It will be a trivial thing to direct new devices through the bevy systems, even when they do not always behave exactly like your typical controller. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |