Page up/down now work in menus (ComponentList).

This commit is contained in:
Aloshi 2014-06-06 15:06:56 -05:00
parent ff2fd4ee80
commit 8858f4888b

View file

@ -81,6 +81,11 @@ bool ComponentList::input(InputConfig* config, Input input)
}else if(config->isMappedTo("down", input))
{
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;