summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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