From c9fa71755442b9eaceda7974832797a29b480434 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Wed, 23 Apr 2008 21:43:18 +0000 Subject: Fix red (define missing keydefs) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17227 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/flashlight.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps') diff --git a/apps/plugins/flashlight.c b/apps/plugins/flashlight.c index 748848310f..02449cacd7 100644 --- a/apps/plugins/flashlight.c +++ b/apps/plugins/flashlight.c @@ -65,6 +65,14 @@ PLUGIN_HEADER # define FLASHLIGHT_NEXT BUTTON_SCROLL_UP # define FLASHLIGHT_PREV BUTTON_SCROLL_DOWN +#elif CONFIG_KEYPAD == MROBE500_PAD +# define FLASHLIGHT_LEFT BUTTON_LEFT +# define FLASHLIGHT_RIGHT BUTTON_RIGHT + +#elif CONFIG_KEYPAD == COWOND2_PAD +# define FLASHLIGHT_LEFT BUTTON_LEFT +# define FLASHLIGHT_RIGHT BUTTON_RIGHT + #else # error Missing key definitions for this keypad #endif -- cgit v1.2.3