summaryrefslogtreecommitdiff
path: root/apps/plugins/lamp.c
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
committerMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
commit2490262eee17c3dcff0a39fb4011662dfdfc4478 (patch)
tree2c68f5903b36e52718f5be53d8504af3e0e03c0c /apps/plugins/lamp.c
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
downloadrockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.zip
rockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.tar.gz
rockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.tar.bz2
rockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.tar.xz
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lamp.c')
-rw-r--r--apps/plugins/lamp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index 1d99ef6..9a91a15 100644
--- a/apps/plugins/lamp.c
+++ b/apps/plugins/lamp.c
@@ -79,6 +79,10 @@ PLUGIN_HEADER
# define LAMP_LEFT BUTTON_LEFT
# define LAMP_RIGHT BUTTON_RIGHT
+#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
+# define LAMP_LEFT BUTTON_LEFT
+# define LAMP_RIGHT BUTTON_RIGHT
+
#else
# error Missing key definitions for this keypad
#endif