Closed thombruce closed 1 year ago
I'm also thinking about being able to adjust the camera scale using the mouse wheel. What would be a good controller binding for this?
D-pad up and down maybe.
Or zoom levels that are switched between using left bumper.
Those both seem like ergonomic options to me, though I suspect D-pad will be reclaimed for other purposes in a future update.
I've just added control mapping using the leafwing-input-manager crate here: 363cf31beb37601d5f463aa6e64123b7a6ede46a
The input manager also supports mapping actions to gamepad controls.
I'd like to do two things here:
For axis inputs, see the example here: https://github.com/Leafwing-Studios/leafwing-input-manager/blob/main/examples/axis_inputs.rs
_Note that left stick is also an axis control. An "axispair" in the example linked above:
If desirable, we could similarly control the rotation intensity using an implementation like that above.