mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Page up/down now work in menus (ComponentList).
This commit is contained in:
parent
ff2fd4ee80
commit
8858f4888b
|
@ -81,6 +81,11 @@ bool ComponentList::input(InputConfig* config, Input input)
|
||||||
}else if(config->isMappedTo("down", input))
|
}else if(config->isMappedTo("down", input))
|
||||||
{
|
{
|
||||||
return listInput(input.value != 0 ? 1 : 0);
|
return listInput(input.value != 0 ? 1 : 0);
|
||||||
|
}else if(config->isMappedTo("pageup", input))
|
||||||
|
{
|
||||||
|
return listInput(input.value != 0 ? -7 : 0);
|
||||||
|
}else if(config->isMappedTo("pagedown", input)){
|
||||||
|
return listInput(input.value != 0 ? 7 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue