summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2008-01-09 21:06:42 +0000
committerMarianne Arnold <pixelma@rockbox.org>2008-01-09 21:06:42 +0000
commit0d8fd456cd690a10f4935febc80fa0a4c8d7535d (patch)
tree143161268e9bdc2ed8fab706e40fe917bd1dcfde /apps
parentca243ce4941dbc23ee1c546fd7d87cc19caf716d (diff)
downloadrockbox-0d8fd456cd690a10f4935febc80fa0a4c8d7535d.tar.gz
rockbox-0d8fd456cd690a10f4935febc80fa0a4c8d7535d.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/brickmania.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index f03b227426..8a4e07c9d7 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -110,6 +110,9 @@ PLUGIN_HEADER
110#define UP BUTTON_SCROLL_UP 110#define UP BUTTON_SCROLL_UP
111#define DOWN BUTTON_SCROLL_DOWN 111#define DOWN BUTTON_SCROLL_DOWN
112 112
113#define SCROLL_FWD(x) ((x) & BUTTON_SCROLL_DOWN)
114#define SCROLL_BACK(x) ((x) & BUTTON_SCROLL_UP)
115
113 116
114#elif CONFIG_KEYPAD == SANSA_C200_PAD 117#elif CONFIG_KEYPAD == SANSA_C200_PAD
115 118
@@ -137,7 +140,7 @@ PLUGIN_HEADER
137#error Unsupported keypad 140#error Unsupported keypad
138#endif 141#endif
139 142
140#ifndef SCROLL_FWD 143#ifndef SCROLL_FWD /* targets without scroll wheel*/
141#define SCROLL_FWD(x) (0) 144#define SCROLL_FWD(x) (0)
142#define SCROLL_BACK(x) (0) 145#define SCROLL_BACK(x) (0)
143#endif 146#endif