![]() # 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. |
||
---|---|---|
.. | ||
axis.rs | ||
gamepad.rs | ||
input.rs | ||
keyboard.rs | ||
lib.rs | ||
mouse.rs | ||
touch.rs |