forked from len0rd/rockbox
ImageViewer: M3K keymap allow scrolling up/down
Change-Id: I385354688b1d8f8df4d44e7e177e23bdb6ed3df4
This commit is contained in:
parent
6e3937e836
commit
ca0c3dee0a
2 changed files with 10 additions and 0 deletions
|
@ -616,11 +616,19 @@ static int scroll_bmp(struct image_info *info)
|
|||
|
||||
case IMGVIEW_UP:
|
||||
case IMGVIEW_UP | BUTTON_REPEAT:
|
||||
#ifdef IMGVIEW_SCROLL_UP
|
||||
case IMGVIEW_SCROLL_UP:
|
||||
case IMGVIEW_SCROLL_UP | BUTTON_REPEAT:
|
||||
#endif
|
||||
pan_view_up(info);
|
||||
break;
|
||||
|
||||
case IMGVIEW_DOWN:
|
||||
case IMGVIEW_DOWN | BUTTON_REPEAT:
|
||||
#ifdef IMGVIEW_SCROLL_DOWN
|
||||
case IMGVIEW_SCROLL_DOWN:
|
||||
case IMGVIEW_SCROLL_DOWN | BUTTON_REPEAT:
|
||||
#endif
|
||||
pan_view_down(info);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue