summaryrefslogtreecommitdiff
path: root/apps/plugins/star.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/star.c
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
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/star.c')
-rw-r--r--apps/plugins/star.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index fd727fa34b..931161308a 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -249,6 +249,19 @@ PLUGIN_HEADER
#define STAR_LEVEL_REPEAT (BUTTON_CUSTOM | BUTTON_RIGHT)
#define STAR_MENU_RUN BUTTON_MENU
+#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
+
+#define STAR_QUIT BUTTON_POWER
+#define STAR_LEFT BUTTON_LEFT
+#define STAR_RIGHT BUTTON_RIGHT
+#define STAR_UP BUTTON_UP
+#define STAR_DOWN BUTTON_DOWN
+#define STAR_TOGGLE_CONTROL BUTTON_SELECT
+#define STAR_LEVEL_UP BUTTON_VOL_UP
+#define STAR_LEVEL_DOWN BUTTON_VOL_DOWN
+#define STAR_LEVEL_REPEAT BUTTON_VIEW
+#define STAR_MENU_RUN BUTTON_MENU
+
#else
#error No keymap defined!
#endif