- Now we can hold 'b' for source menu even if wiimote gestures is enabled. Which means we should be able to remove 'b' on home button and 'b' on mode button.

This commit is contained in:
fledge68 2012-08-17 14:42:37 +00:00
parent 30af787956
commit 85ff18bd8d

View File

@ -514,20 +514,25 @@ int CMenu::main(void)
}
}
else if(WROLL_LEFT)
{
m_cf.left();
SourceMenuTimeout = 0;
}
else if(WROLL_RIGHT)
{
m_cf.right();
SourceMenuTimeout = 0;
}
if(!BTN_B_HELD)
{
SourceMenuTimeout = 0;
if(BTN_UP_REPEAT || RIGHT_STICK_UP)
m_cf.up();
else if((BTN_RIGHT_REPEAT || RIGHT_STICK_RIGHT) || WROLL_RIGHT)
else if(BTN_RIGHT_REPEAT || RIGHT_STICK_RIGHT)
m_cf.right();
else if(BTN_DOWN_REPEAT || RIGHT_STICK_DOWN)
m_cf.down();
else if((BTN_LEFT_REPEAT || RIGHT_STICK_LEFT) || WROLL_LEFT)
else if(BTN_LEFT_REPEAT || RIGHT_STICK_LEFT)
m_cf.left();
else if(BTN_1_PRESSED || BTN_2_PRESSED)
{
@ -682,8 +687,6 @@ int CMenu::main(void)
_initCF();
}
}
else if(!enable_wmote_roll)
{
if(!SourceMenuTimeout && !bheld)
{
SourceMenuTimeout = time(0);
@ -699,7 +702,7 @@ int CMenu::main(void)
_showMain();
continue;
}
}
}
if(done==0 && m_cat.getBool("GENERAL", "category_on_start", false))