forked from len0rd/rockbox
Added remote vol up/down as next/prev navigation keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1688 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6983d9d3ab
commit
6752ee445b
1 changed files with 2 additions and 0 deletions
|
@ -392,6 +392,7 @@ bool dirbrowse(char *root)
|
|||
|
||||
case TREE_PREV:
|
||||
case TREE_PREV | BUTTON_REPEAT:
|
||||
case BUTTON_VOL_UP:
|
||||
if(filesindir) {
|
||||
if(dircursor) {
|
||||
put_cursorxy(0, CURSOR_Y + LINE_Y+dircursor, false);
|
||||
|
@ -427,6 +428,7 @@ bool dirbrowse(char *root)
|
|||
|
||||
case TREE_NEXT:
|
||||
case TREE_NEXT | BUTTON_REPEAT:
|
||||
case BUTTON_VOL_DOWN:
|
||||
if(filesindir)
|
||||
{
|
||||
if (dircursor + start + 1 < numentries ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue