mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Wii: Display all hat directions in the joystick buttons menu instead of just up.
git-svn-id: https://svn.eduke32.com/eduke32@4828 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
989f182eb4
commit
ac4bbaf0f1
1 changed files with 2 additions and 2 deletions
|
@ -1309,7 +1309,7 @@ void M_Init(void)
|
||||||
MEO_MOUSESETUPBTNS[i] = MEO_MOUSEJOYSETUPBTNS_TEMPLATE;
|
MEO_MOUSESETUPBTNS[i] = MEO_MOUSEJOYSETUPBTNS_TEMPLATE;
|
||||||
MEO_MOUSESETUPBTNS[i].data = &ud.config.MouseFunctions[MenuMouseDataIndex[i][0]][MenuMouseDataIndex[i][1]];
|
MEO_MOUSESETUPBTNS[i].data = &ud.config.MouseFunctions[MenuMouseDataIndex[i][0]][MenuMouseDataIndex[i][1]];
|
||||||
}
|
}
|
||||||
for (i = 0; i < 2*joynumbuttons + 2*joynumhats; ++i)
|
for (i = 0; i < 2*joynumbuttons + 8*joynumhats; ++i)
|
||||||
{
|
{
|
||||||
if (i < 2*joynumbuttons)
|
if (i < 2*joynumbuttons)
|
||||||
{
|
{
|
||||||
|
@ -1330,7 +1330,7 @@ void M_Init(void)
|
||||||
MEO_JOYSTICKBTNS[i] = MEO_MOUSEJOYSETUPBTNS_TEMPLATE;
|
MEO_JOYSTICKBTNS[i] = MEO_MOUSEJOYSETUPBTNS_TEMPLATE;
|
||||||
MEO_JOYSTICKBTNS[i].data = &ud.config.JoystickFunctions[i>>1][i&1];
|
MEO_JOYSTICKBTNS[i].data = &ud.config.JoystickFunctions[i>>1][i&1];
|
||||||
}
|
}
|
||||||
M_JOYSTICKBTNS.numEntries = 2*joynumbuttons + 2*joynumhats;
|
M_JOYSTICKBTNS.numEntries = 2*joynumbuttons + 8*joynumhats;
|
||||||
for (i = 0; i < joynumaxes; ++i)
|
for (i = 0; i < joynumaxes; ++i)
|
||||||
{
|
{
|
||||||
ME_JOYSTICKAXES[i] = ME_JOYSTICKAXES_TEMPLATE;
|
ME_JOYSTICKAXES[i] = ME_JOYSTICKAXES_TEMPLATE;
|
||||||
|
|
Loading…
Reference in a new issue