summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:21:00 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:21:00 +0000
commitebc4db87017b308d3504c52e06e129fea07403b3 (patch)
tree9bfca50cc0d4f4c3fdc06ac387a7b841de7e3341 /apps/plugins/snake.c
parent90febcf5a92fcf75fb6630e7fb1bb7778b5aafb5 (diff)
downloadrockbox-ebc4db87017b308d3504c52e06e129fea07403b3.tar.gz
rockbox-ebc4db87017b308d3504c52e06e129fea07403b3.tar.bz2
rockbox-ebc4db87017b308d3504c52e06e129fea07403b3.zip
fuze+: add snake keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30669 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r--apps/plugins/snake.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index 5e591caab3..2223887f94 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -225,6 +225,14 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left;
#define SNAKE_DOWN BUTTON_DOWN
#define SNAKE_PLAYPAUSE BUTTON_PLAY
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define SNAKE_QUIT BUTTON_POWER
+#define SNAKE_LEFT BUTTON_LEFT
+#define SNAKE_RIGHT BUTTON_RIGHT
+#define SNAKE_UP BUTTON_UP
+#define SNAKE_DOWN BUTTON_DOWN
+#define SNAKE_PLAYPAUSE BUTTON_PLAYPAUSE
+
#else
#error No keymap defined!
#endif