From 0d8fd456cd690a10f4935febc80fa0a4c8d7535d Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Wed, 9 Jan 2008 21:06:42 +0000 Subject: 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 --- apps/plugins/brickmania.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') 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 #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 -- cgit v1.2.3