mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed an issue where trigger input in menus wasn't handled correctly.
This commit is contained in:
parent
dec3a74e16
commit
3923ad32c6
|
@ -92,13 +92,17 @@ bool ComponentList::input(InputConfig* config, Input input)
|
|||
return listInput(input.value != 0 ? 6 : 0);
|
||||
}
|
||||
else if (config->isMappedLike("lefttrigger", input)) {
|
||||
if (input.value != 0) {
|
||||
mSelectorBarOffset = 0;
|
||||
return listFirstRow();
|
||||
}
|
||||
}
|
||||
else if (config->isMappedLike("righttrigger", input)) {
|
||||
if (input.value != 0) {
|
||||
mSelectorBarOffset = mEntries.size() - 1;
|
||||
return listLastRow();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue