summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-01-04 23:33:15 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-01-04 23:33:15 +0000
commit6d5823f964d8cc2b030d7a713d355f3132e41c45 (patch)
tree4ca09cc6020717948fd21bccdd29265ed2c454fc /apps/plugins/pacbox/pacbox.h
parentd32ebec9dadb053ab6d63aaa581465ad18ec572e (diff)
downloadrockbox-6d5823f964d8cc2b030d7a713d355f3132e41c45.tar.gz
rockbox-6d5823f964d8cc2b030d7a713d355f3132e41c45.tar.bz2
rockbox-6d5823f964d8cc2b030d7a713d355f3132e41c45.zip
Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 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 e454b17ae7..2d559fd6df 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -112,6 +112,17 @@
#define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN)
#define PACMAN_MENU BUTTON_POWER
+#elif CONFIG_KEYPAD == SANSA_FUZE_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_COIN_PRE BUTTON_SELECT
+#define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN)
+#define PACMAN_MENU BUTTON_POWER
+
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#if defined(IRIVER_H10_5GB)