feat: make weapon wheel key remappable (issue #31)
linux / build (push) Canceled after 13m5s

This commit is contained in:
2026-12-02 16:18:56 +00:00
parent ffbdb3595f
commit a018cf1e77
7 changed files with 49 additions and 2 deletions
+3 -1
View File
@@ -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