forked from len0rd/rockbox
OOPS Forgot remote keys bindings for the ID3 info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f77ac7a6a7
commit
f64280ff00
2 changed files with 4 additions and 19 deletions
|
|
@ -658,7 +658,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button)
|
||||||
#endif
|
#endif
|
||||||
gui_synclist_scroll_right(lists);
|
gui_synclist_scroll_right(lists);
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
return true;
|
return LIST_PGRIGHT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LIST_PGLEFT
|
#ifdef LIST_PGLEFT
|
||||||
|
|
@ -670,7 +670,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button)
|
||||||
#endif
|
#endif
|
||||||
gui_synclist_scroll_left(lists);
|
gui_synclist_scroll_left(lists);
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
return true;
|
return LIST_PGLEFT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* for pgup / pgdown, we are obliged to have a different behaviour depending on the screen
|
/* for pgup / pgdown, we are obliged to have a different behaviour depending on the screen
|
||||||
|
|
|
||||||
|
|
@ -1017,7 +1017,6 @@ char * id3_get_info(int selected_item, void* data, char *buffer)
|
||||||
{
|
{
|
||||||
struct mp3entry* id3 =(struct mp3entry*)data;
|
struct mp3entry* id3 =(struct mp3entry*)data;
|
||||||
int info_no=selected_item/2;
|
int info_no=selected_item/2;
|
||||||
DEBUGF("%d : %d\n",info_no, selected_item);
|
|
||||||
if(!(selected_item%2))
|
if(!(selected_item%2))
|
||||||
{/* header */
|
{/* header */
|
||||||
int headers[]=
|
int headers[]=
|
||||||
|
|
@ -1125,22 +1124,8 @@ bool browse_id3(void)
|
||||||
gui_synclist_draw(&id3_lists);
|
gui_synclist_draw(&id3_lists);
|
||||||
while (true) {
|
while (true) {
|
||||||
key = button_get_w_tmo(HZ/2);
|
key = button_get_w_tmo(HZ/2);
|
||||||
/* If moved, "say" the entry under the cursor */
|
if(key!=BUTTON_NONE && !(key&BUTTON_REL) && !gui_synclist_do_button(&id3_lists, key))
|
||||||
gui_synclist_do_button(&id3_lists, key);
|
return(default_event_handler(key) == SYS_USB_CONNECTED);
|
||||||
switch( key ) {
|
|
||||||
#ifdef SETTINGS_OK2
|
|
||||||
case SETTINGS_OK2:
|
|
||||||
#endif
|
|
||||||
case SETTINGS_CANCEL:
|
|
||||||
lcd_stop_scroll();
|
|
||||||
/* Eat release event */
|
|
||||||
button_get(true);
|
|
||||||
return(false);
|
|
||||||
|
|
||||||
default:
|
|
||||||
if (default_event_handler(key) == SYS_USB_CONNECTED)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
gui_syncstatusbar_draw(&statusbars, false);
|
gui_syncstatusbar_draw(&statusbars, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue