mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
- 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:
parent
30af787956
commit
85ff18bd8d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user