1
0
Fork 0
forked from len0rd/rockbox

Committing FS#5182 - One button hold for Horizontal screen scrolling.

=>hold RIGHT or LEFT button on a GUI based list to scroll horizontally.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10545 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Shachar Liberman 2006-08-12 13:40:49 +00:00
parent 54ec1f5f6d
commit f53779d2f4
6 changed files with 47 additions and 17 deletions

View file

@ -587,8 +587,9 @@ static bool dirbrowse(void)
switch ( button ) {
#ifdef TREE_ENTER
case TREE_ENTER:
case TREE_ENTER | BUTTON_REPEAT:
case TREE_ENTER | BUTTON_REL:
if (lastbutton != TREE_ENTER)
break;
#endif
#ifdef TREE_RC_RUN
case TREE_RC_RUN:
@ -617,8 +618,9 @@ static bool dirbrowse(void)
restore = true;
break;
case TREE_EXIT:
case TREE_EXIT | BUTTON_REPEAT:
case TREE_EXIT | BUTTON_REL:
if (lastbutton != TREE_EXIT)
break;
#ifdef TREE_RC_EXIT
case TREE_RC_EXIT:
#endif