mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 19:51:16 +00:00
Fix binding joystick digital axes in the menu
git-svn-id: https://svn.eduke32.com/eduke32@7957 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
56998c4840
commit
5cc9d1e440
1 changed files with 1 additions and 1 deletions
|
@ -3365,7 +3365,7 @@ static int32_t Menu_EntryOptionModify(MenuEntry_t *entry, int32_t newOption)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < ARRAY_SSIZE(MEL_INTERNAL_JOYSTICKAXIS_DIGITAL); i++)
|
for (int i = 0; i < ARRAY_SSIZE(MEL_INTERNAL_JOYSTICKAXIS_DIGITAL); i++)
|
||||||
if (entry == MEL_INTERNAL_JOYSTICKAXIS_DIGITAL[i])
|
if (entry == MEL_INTERNAL_JOYSTICKAXIS_DIGITAL[i])
|
||||||
CONTROL_MapDigitalAxis(i>>1, newOption, i&1, controldevice_joystick);
|
CONTROL_MapDigitalAxis(M_JOYSTICKAXES.currentEntry, newOption, i&1, controldevice_joystick);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue