mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-28 05:29:17 +01:00
Removed minimum wait time for collectionUp/Down keys.
This commit is contained in:
parent
272400bcc5
commit
e577ebd34c
@ -1223,6 +1223,18 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
|
|||||||
state = RETROFE_MENUMODE_START_REQUEST;
|
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_ || (
|
if ( menuMode_ || (
|
||||||
!input_.keystate(UserInput::KeyCodePageUp) &&
|
!input_.keystate(UserInput::KeyCodePageUp) &&
|
||||||
!input_.keystate(UserInput::KeyCodePageDown) &&
|
!input_.keystate(UserInput::KeyCodePageDown) &&
|
||||||
@ -1283,16 +1295,6 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
|
|||||||
page->letterScroll(Page::ScrollDirectionForward);
|
page->letterScroll(Page::ScrollDirectionForward);
|
||||||
state = RETROFE_MENUJUMP_REQUEST;
|
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) )
|
if ( input_.newKeyPressed(UserInput::KeyCodeFavPlaylist) )
|
||||||
{
|
{
|
||||||
attract_.reset( );
|
attract_.reset( );
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "9";
|
std::string retrofe_version_minor = "9";
|
||||||
std::string retrofe_version_build = "4";
|
std::string retrofe_version_build = "5";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString( )
|
std::string Version::getString( )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user