Removed minimum wait time for collectionUp/Down keys.

This commit is contained in:
Pieter Hulshoff 2019-10-11 22:02:23 +02:00
parent 272400bcc5
commit e577ebd34c
2 changed files with 13 additions and 11 deletions

View File

@ -1223,6 +1223,18 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
state = RETROFE_MENUMODE_START_REQUEST;
}
// Handle Collection Up/Down keys
if (input_.keystate( UserInput::KeyCodeCollectionUp ))
{
attract_.reset( );
state = RETROFE_COLLECTION_UP_REQUEST;
}
if (input_.keystate( UserInput::KeyCodeCollectionDown ))
{
attract_.reset( );
state = RETROFE_COLLECTION_DOWN_REQUEST;
}
if ( menuMode_ || (
!input_.keystate(UserInput::KeyCodePageUp) &&
!input_.keystate(UserInput::KeyCodePageDown) &&
@ -1283,16 +1295,6 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
page->letterScroll(Page::ScrollDirectionForward);
state = RETROFE_MENUJUMP_REQUEST;
}
if (input_.keystate( UserInput::KeyCodeCollectionUp ))
{
attract_.reset( );
state = RETROFE_COLLECTION_UP_REQUEST;
}
if (input_.keystate( UserInput::KeyCodeCollectionDown ))
{
attract_.reset( );
state = RETROFE_COLLECTION_DOWN_REQUEST;
}
if ( input_.newKeyPressed(UserInput::KeyCodeFavPlaylist) )
{
attract_.reset( );

View File

@ -21,7 +21,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "9";
std::string retrofe_version_build = "4";
std::string retrofe_version_build = "5";
std::string Version::getString( )