pub fn bind_gamepad_axis_to_axis(
        mut self,
        gamepad_axis: GamepadAxis,
        axis: Axes,
        direction: AxisDirection,
    ) -> Self {
        self.bindings.insert(
            InputType::GamepadAxis(gamepad_axis),
            InputEffect::Axis(axis, direction),
        );
        self
    }
/// Adds a gamepad axis binding connecting the given gamepad axis to the given logical axis.
Adds a gamepad axis binding connecting the given gamepad axis to the given logical axis.
Adds a gamepad axis binding connecting the given gamepad axis to the given logical axis .
pub fn bind_gamepad_axis_to_axis(
        mut self,
        gamepad_axis: GamepadAxis,
        axis: Axes,
        direction: AxisDirection,
    ) -> Self {
        self.bindings.insert(
            InputType::GamepadAxis(gamepad_axis),
            InputEffect::Axis(axis, direction),
        );
        self
    }
pub fn bind_gamepad_axis_to_axis ( mut self , gamepad_axis : GamepadAxis , axis : Axes , direction : AxisDirection , ) -> Self { self . bindings . insert ( InputType :: GamepadAxis ( gamepad_axis ) , InputEffect :: Axis ( axis , direction ) , ) ; self }
Adds a gamepad axis binding connecting the given gamepad axis to the given logical axis.
Adds a gamepad axis binding connecting the given gamepad axis to the given logical axis .
mut self
gamepad_axis
GamepadAxis
axis
Axes
direction
AxisDirection
mut self
gamepad_axis
GamepadAxis
axis
Axes
direction
AxisDirection