summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-04-23 21:43:18 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-04-23 21:43:18 +0000
commitc9fa71755442b9eaceda7974832797a29b480434 (patch)
tree8b8e704fcaa51c25e4628447f7b23fb30302a75e /apps
parent39718e358518ef16a42415a7b44b6e37bacaa656 (diff)
Fix red (define missing keydefs)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/flashlight.c8
1 files changed, 8 insertions, 0 deletions
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