summaryrefslogtreecommitdiff
path: root/apps/plugins/snake2.c
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/snake2.c
parentd32ebec9dadb053ab6d63aaa581465ad18ec572e (diff)
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/snake2.c')
-rw-r--r--apps/plugins/snake2.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index 061fdb2a5d..5b470f5f82 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -249,6 +249,20 @@ PLUGIN_HEADER
#define SNAKE2_PLAYPAUSE BUTTON_SELECT
#define SNAKE2_PLAYPAUSE_TEXT "Select"
+#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
+#define SNAKE2_LEFT BUTTON_LEFT
+#define SNAKE2_RIGHT BUTTON_RIGHT
+#define SNAKE2_UP BUTTON_UP
+#define SNAKE2_DOWN BUTTON_DOWN
+#define SNAKE2_QUIT BUTTON_POWER
+#define SNAKE2_LEVEL_UP BUTTON_UP
+#define SNAKE2_LEVEL_DOWN BUTTON_DOWN
+#define SNAKE2_MAZE_NEXT BUTTON_RIGHT
+#define SNAKE2_MAZE_LAST BUTTON_LEFT
+#define SNAKE2_SELECT_TYPE BUTTON_SELECT|BUTTON_REL
+#define SNAKE2_PLAYPAUSE BUTTON_SELECT|BUTTON_REPEAT
+#define SNAKE2_PLAYPAUSE_TEXT "Hold Select"
+
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
#define SNAKE2_LEFT BUTTON_LEFT
#define SNAKE2_RIGHT BUTTON_RIGHT