Commit 8858f488 authored by Aloshi's avatar Aloshi

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

parent ff2fd4ee
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment