mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Only run input code when input is pressed, not released.
This commit is contained in:
parent
ed64c22dcb
commit
bec3a2599a
|
@ -42,6 +42,8 @@ void GridGameListView::setCursor(FileData* file)
|
|||
}
|
||||
|
||||
bool GridGameListView::input(InputConfig* config, Input input)
|
||||
{
|
||||
if(input.value != 0)
|
||||
{
|
||||
if(config->isMappedTo("a", input))
|
||||
{
|
||||
|
@ -77,6 +79,7 @@ bool GridGameListView::input(InputConfig* config, Input input)
|
|||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return GameListView::input(config, input);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue