summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:17 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:17 +0000
commit2c64d8f004fe4b1b4d87c896ca97cbb2f23bb82c (patch)
treed1c5f0814bc455afa7769607ec82dba6c19f3daf /apps/plugins/pacbox/pacbox.h
parentfaa6d40f09b49f77a6ebfb2c598ec2573c72d4a0 (diff)
downloadrockbox-2c64d8f004fe4b1b4d87c896ca97cbb2f23bb82c.tar.gz
rockbox-2c64d8f004fe4b1b4d87c896ca97cbb2f23bb82c.tar.bz2
rockbox-2c64d8f004fe4b1b4d87c896ca97cbb2f23bb82c.zip
fuze+: add doom and pacbox keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30696 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 99d9e2ffee..d9b8ec7460 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -243,6 +243,17 @@
#define PACMAN_COIN BUTTON_OK
#define PACMAN_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_LEFT
+#define PACMAN_RIGHT BUTTON_RIGHT
+#define PACMAN_1UP BUTTON_SELECT
+#define PACMAN_2UP BUTTON_BACK
+#define PACMAN_COIN BUTTON_PLAYPAUSE
+#define PACMAN_MENU BUTTON_POWER
+
#else
#error Keymap not defined!