pub fn bind_gamepad_button_to_button(
        mut self,
        gamepad_button: GamepadButton,
        button: Buttons,
    ) -> Self {
        self.bindings.insert(
            InputType::GamepadButton(gamepad_button),
            InputEffect::Button(button, AxisDirection::Positive),
        );
        self
    }
/// Adds a gamepad button binding connecting the given gamepad button to the given logical
/// button.
Adds a gamepad button binding connecting the given gamepad button to the given logical
button.
Adds a gamepad button binding connecting the given gamepad button to the given logical button .
pub fn bind_gamepad_button_to_button(
        mut self,
        gamepad_button: GamepadButton,
        button: Buttons,
    ) -> Self {
        self.bindings.insert(
            InputType::GamepadButton(gamepad_button),
            InputEffect::Button(button, AxisDirection::Positive),
        );
        self
    }
pub fn bind_gamepad_button_to_button ( mut self , gamepad_button : GamepadButton , button : Buttons , ) -> Self { self . bindings . insert ( InputType :: GamepadButton ( gamepad_button ) , InputEffect :: Button ( button , AxisDirection :: Positive ) , ) ; self }
Adds a gamepad button binding connecting the given gamepad button to the given logical
button.
Adds a gamepad button binding connecting the given gamepad button to the given logical button .
mut self
gamepad_button
GamepadButton
button
Buttons
mut self
gamepad_button
GamepadButton
button
Buttons