summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-11-02 05:21:34 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-11-02 05:21:34 +0000
commit38548c71185a3563b55f43b069fb7b5408691645 (patch)
treeee9952d225c32c083b63f3c68cf7300c33b8c93b /apps/plugins/pacbox/pacbox.h
parent574b1009a64f8cb53a16aa43c28694486efb8455 (diff)
downloadrockbox-38548c71185a3563b55f43b069fb7b5408691645.tar.gz
rockbox-38548c71185a3563b55f43b069fb7b5408691645.zip
Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r--apps/plugins/pacbox/pacbox.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index 0d879fcddc..ea9fd3c0ef 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -118,6 +118,22 @@
#define PACMAN_COIN BUTTON_FF
#define PACMAN_MENU BUTTON_PLAY
+#elif CONFIG_KEYPAD == MROBE500_PAD
+
+#define PACMAN_UP BUTTON_RC_PLAY
+#define PACMAN_DOWN BUTTON_RC_DOWN
+#define PACMAN_LEFT BUTTON_RC_REW
+#define PACMAN_RIGHT BUTTON_RC_FF
+#define PACMAN_1UP BUTTON_RC_VOL_DOWN
+#define PACMAN_2UP BUTTON_RC_VOL_UP
+#define PACMAN_COIN_PRE BUTTON_RC_MODE
+#define PACMAN_COIN (BUTTON_RC_MODE | BUTTON_RC_DOWN)
+#define PACMAN_MENU BUTTON_POWER
+
+#else
+
+#error Keymap not defined!
+
#endif
#if (LCD_HEIGHT >= 288)