From 36d7bbbb4e605f1df373282fbbcb3cfb0e15b464 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 13 Nov 2011 16:16:18 +0000 Subject: Sansa clip zip: make more plugins compile (lamp, wormlet, matrix) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30974 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lamp.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/plugins/lamp.c') diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c index f95516e..7389811 100644 --- a/apps/plugins/lamp.c +++ b/apps/plugins/lamp.c @@ -140,6 +140,12 @@ # define LAMP_UP BUTTON_UP # define LAMP_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == SANSA_CLIP_PAD +# define LAMP_LEFT BUTTON_LEFT +# define LAMP_RIGHT BUTTON_RIGHT +# define LAMP_UP BUTTON_UP +# define LAMP_DOWN BUTTON_DOWN + #else # error Missing key definitions for this keypad #endif -- cgit v1.1