forked from len0rd/rockbox
E200: Restore the scroll wheel support in brickmania that got lost in the previous changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16040 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ca243ce494
commit
0d8fd456cd
1 changed files with 4 additions and 1 deletions
|
|
@ -110,6 +110,9 @@ PLUGIN_HEADER
|
|||
#define UP BUTTON_SCROLL_UP
|
||||
#define DOWN BUTTON_SCROLL_DOWN
|
||||
|
||||
#define SCROLL_FWD(x) ((x) & BUTTON_SCROLL_DOWN)
|
||||
#define SCROLL_BACK(x) ((x) & BUTTON_SCROLL_UP)
|
||||
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_C200_PAD
|
||||
|
||||
|
|
@ -137,7 +140,7 @@ PLUGIN_HEADER
|
|||
#error Unsupported keypad
|
||||
#endif
|
||||
|
||||
#ifndef SCROLL_FWD
|
||||
#ifndef SCROLL_FWD /* targets without scroll wheel*/
|
||||
#define SCROLL_FWD(x) (0)
|
||||
#define SCROLL_BACK(x) (0)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue