mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-15 03:08:52 +01:00
Allow menu direction scroll change independent of the idle state of the menu.
This commit is contained in:
parent
f98395cbcd
commit
fa44e571c9
@ -575,8 +575,6 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
|
|||||||
bool exit = false;
|
bool exit = false;
|
||||||
RETROFE_STATE state = RETROFE_IDLE;
|
RETROFE_STATE state = RETROFE_IDLE;
|
||||||
|
|
||||||
if(page->isMenuIdle())
|
|
||||||
{
|
|
||||||
if(page->isHorizontalScroll())
|
if(page->isHorizontalScroll())
|
||||||
{
|
{
|
||||||
if (input_.keystate(UserInput::KeyCodeLeft))
|
if (input_.keystate(UserInput::KeyCodeLeft))
|
||||||
@ -600,6 +598,9 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(page->isMenuIdle())
|
||||||
|
{
|
||||||
|
|
||||||
if (!input_.keystate(UserInput::KeyCodePageUp) &&
|
if (!input_.keystate(UserInput::KeyCodePageUp) &&
|
||||||
!input_.keystate(UserInput::KeyCodePageDown) &&
|
!input_.keystate(UserInput::KeyCodePageDown) &&
|
||||||
!input_.keystate(UserInput::KeyCodeLetterUp) &&
|
!input_.keystate(UserInput::KeyCodeLetterUp) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user