From dee650d7a66fc1f93b50a0cdd34e2d96dd9c964b Mon Sep 17 00:00:00 2001 From: pixelma Date: Wed, 9 Jan 2008 21:06:42 +0000 Subject: [PATCH] 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(-) diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index f03b22742..8a4e07c9d 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 -- 2.11.4.GIT