feat: make weapon wheel key remappable (issue #31)
linux / build (push) Canceled after 13m5s
linux / build (push) Canceled after 13m5s
This commit is contained in:
@@ -581,7 +581,9 @@ Wheel_WeaponTriggerHeld(void)
|
||||
|
||||
if (FindPlayerVehicle() != nil)
|
||||
return false;
|
||||
return !!pad->GetTab() || pad->NewState.RightShoulder2 != 0;
|
||||
// Keyboard uses the remappable WEAPON_WHEEL action; R2 stays a fixed
|
||||
// gamepad fallback (it is not part of the configurable button set).
|
||||
return pad->GetWeaponWheel() || pad->NewState.RightShoulder2 != 0;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user