summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
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/pacbox/pacbox.h
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/pacbox/pacbox.h')
-rw-r--r--apps/plugins/pacbox/pacbox.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index ac13e24d2c..85ec648a7a 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -192,6 +192,17 @@
#define PACMAN_COIN BUTTON_VIEW
#define PACMAN_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
+
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_PREV
+#define PACMAN_RIGHT BUTTON_NEXT
+#define PACMAN_1UP BUTTON_VOL_UP
+#define PACMAN_2UP BUTTON_VOL_DOWN
+#define PACMAN_COIN BUTTON_RIGHT
+#define PACMAN_MENU BUTTON_MENU
+
#elif CONFIG_KEYPAD == ONDAVX747_PAD
#define PACMAN_MENU (BUTTON_MENU|BUTTON_REL)