summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sliding_puzzle.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:21:11 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:21:11 +0000
commit18e26cdad819d4bbdce58bb70be0543ff8df5752 (patch)
tree68f5a626980bdee51acb3f7495719ff686f755f1 /apps/plugins/sliding_puzzle.c
parentcbe1ca1948f7a1b3aafb7b9ddf45d9df20eb0032 (diff)
downloadrockbox-18e26cdad819d4bbdce58bb70be0543ff8df5752.tar.gz
rockbox-18e26cdad819d4bbdce58bb70be0543ff8df5752.tar.bz2
rockbox-18e26cdad819d4bbdce58bb70be0543ff8df5752.zip
fuze+: add sliding_puzzle keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30672 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sliding_puzzle.c')
-rw-r--r--apps/plugins/sliding_puzzle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c
index 92c9db768f..d2e1eec977 100644
--- a/apps/plugins/sliding_puzzle.c
+++ b/apps/plugins/sliding_puzzle.c
@@ -245,6 +245,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define PUZZLE_SHUFFLE BUTTON_ENTER
#define PUZZLE_PICTURE BUTTON_PLAY
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define PUZZLE_QUIT BUTTON_POWER
+#define PUZZLE_LEFT BUTTON_LEFT
+#define PUZZLE_RIGHT BUTTON_RIGHT
+#define PUZZLE_UP BUTTON_UP
+#define PUZZLE_DOWN BUTTON_DOWN
+#define PUZZLE_SHUFFLE BUTTON_PLAYPAUSE
+#define PUZZLE_PICTURE BUTTON_SELECT
+
#else
#error No keymap defined!
#endif