mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +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++)
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue