1
0
Fork 0
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:
Marianne Arnold 2008-01-09 21:06:42 +00:00
parent ca243ce494
commit 0d8fd456cd

View file

@ -110,6 +110,9 @@ PLUGIN_HEADER
#define UP BUTTON_SCROLL_UP #define UP BUTTON_SCROLL_UP
#define DOWN BUTTON_SCROLL_DOWN #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 #elif CONFIG_KEYPAD == SANSA_C200_PAD
@ -137,7 +140,7 @@ PLUGIN_HEADER
#error Unsupported keypad #error Unsupported keypad
#endif #endif
#ifndef SCROLL_FWD #ifndef SCROLL_FWD /* targets without scroll wheel*/
#define SCROLL_FWD(x) (0) #define SCROLL_FWD(x) (0)
#define SCROLL_BACK(x) (0) #define SCROLL_BACK(x) (0)
#endif #endif