Added repeat for ENTER and EXIT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2108 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
616b93ddd5
commit
407bfb04f1
1 changed files with 3 additions and 0 deletions
|
@ -471,6 +471,7 @@ bool dirbrowse(char *root)
|
|||
button = button_get_w_tmo(HZ/5);
|
||||
switch ( button ) {
|
||||
case TREE_EXIT:
|
||||
case TREE_EXIT | BUTTON_REPEAT:
|
||||
i=strlen(currdir);
|
||||
if (i>1) {
|
||||
while (currdir[i-1]!='/')
|
||||
|
@ -510,8 +511,10 @@ bool dirbrowse(char *root)
|
|||
|
||||
|
||||
case TREE_ENTER:
|
||||
case TREE_ENTER | BUTTON_REPEAT:
|
||||
#ifdef HAVE_RECORDER_KEYPAD
|
||||
case BUTTON_PLAY:
|
||||
case BUTTON_PLAY | BUTTON_REPEAT:
|
||||
#endif
|
||||
if ( !numentries )
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue