Make triggers be bound to airdodge on non-gamecube controllers
CI / build-and-test (pull_request) Successful in 1m43s
CI / production-build (pull_request) Successful in 10m33s

This commit is contained in:
2026-09-26 12:07:46 +00:00
committed by EIREXE
parent a58b5eeec7
commit 61c69f2308
+2 -3
View File
@@ -116,13 +116,12 @@ impl Plugin for FighterInputPlugin {
binding: GamepadBinding::Button(GamepadButton::North),
action: InputMapAction::Jump,
},
// shield/airdodge -- both shoulder buttons, Melee-style
GamepadInputMapElement {
binding: GamepadBinding::Button(GamepadButton::LeftTrigger),
binding: GamepadBinding::Button(GamepadButton::LeftTrigger2),
action: InputMapAction::Shield,
},
GamepadInputMapElement {
binding: GamepadBinding::Button(GamepadButton::RightTrigger),
binding: GamepadBinding::Button(GamepadButton::RightTrigger2),
action: InputMapAction::Shield,
},
// attack