Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for additional gamepad buttons and axis (bevyengine#5853)
# 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.
- Loading branch information