summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2010-11-02 03:29:16 +0000
committerRobert Menes <rmenes@rockbox.org>2010-11-02 03:29:16 +0000
commitf7bcb66e676df93ab3e5bbff5b71ed4200afaabb (patch)
tree5a35b8888a4443545c05289e71a671ae16ccbe64 /apps/plugins/wormlet.c
parentaee59094dba8d9c13f16e7667298be74b9cd60cd (diff)
downloadrockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.tar.gz
rockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.tar.bz2
rockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.zip
Begin committing keymap plugins for the Philips GoGear HDD6330.
Not all keymaps are completed, but I want to get some initial work I did under version control. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28442 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 443ef4367e..0c4e6f9e7a 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -234,6 +234,16 @@ static long max_cycle;
#define BTN_QUIT BUTTON_POWER
#define BTN_STOPRESET BUTTON_VIEW
+#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
+
+#define BTN_DIR_UP BUTTON_UP
+#define BTN_DIR_DOWN BUTTON_DOWN
+#define BTN_DIR_LEFT BUTTON_PREV
+#define BTN_DIR_RIGHT BUTTON_NEXT
+#define BTN_STARTPAUSE BUTTON_MENU
+#define BTN_QUIT BUTTON_POWER
+#define BTN_STOPRESET BUTTON_RIGHT
+
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
#define BTN_DIR_UP BUTTON_UP