summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
commite626dcba4079f3e3bacf7128e6a645d087b506c5 (patch)
treefdb2568f3bb9614b55846c5bc63ad8ac8f52a9ed /apps/plugins/wormlet.c
parent6ea0c3f2298c161c138f6a23418b0c7ddd5dfb77 (diff)
downloadrockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.gz
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.bz2
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.zip
Start committing plugin keymaps for the Philips GoGear SA9200.
I still have more plugins to finish, but this is an initial start and I can at least get them under version control in case I need to revise any. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23813 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 3f67e61857..bc7d8bf545 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -232,6 +232,16 @@ PLUGIN_HEADER
#define BTN_QUIT BUTTON_POWER
#define BTN_STOPRESET BUTTON_VIEW
+#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
+
+#define BTN_DIR_UP BUTTON_UP
+#define BTN_DIR_DOWN BUTTON_DOWN
+#define BTN_DIR_LEFT BUTTON_PREV
+#define BTN_DIR_RIGHT BUTTON_RIGHT
+#define BTN_STARTPAUSE BUTTON_MENU
+#define BTN_QUIT BUTTON_POWER
+#define BTN_STOPRESET BUTTON_RIGHT
+
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \
(CONFIG_KEYPAD == ONDAVX777_PAD) || \
CONFIG_KEYPAD == MROBE500_PAD