bevy/crates/bevy_input/src
Fishy 79e7c93060 Support for additional gamepad buttons and axis (#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.
2022-09-02 02:16:18 +00:00
..
axis.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
gamepad.rs Support for additional gamepad buttons and axis (#5853) 2022-09-02 02:16:18 +00:00
input.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
keyboard.rs Added keyboard scan input event (#5495) 2022-08-05 04:19:53 +00:00
lib.rs Added keyboard scan input event (#5495) 2022-08-05 04:19:53 +00:00
mouse.rs Update MouseMotion and CursorMoved docs (#5090) 2022-06-26 13:40:43 +00:00
touch.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00