summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:34:19 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:34:19 +0000
commit31e3df17eb597208198cc7bcef9e41d40842ffa2 (patch)
tree3d4e174bd9f9ade3bc308d4a5311aa17a1aa67dc /apps
parente6c6dc32380a3c200c9c96ef54e5f63d922b12d1 (diff)
fuze+: add matrix keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30683 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/matrix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c
index 02a64dba81..04601f6d9e 100644
--- a/apps/plugins/matrix.c
+++ b/apps/plugins/matrix.c
@@ -169,6 +169,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#define MATRIX_SLEEP_LESS BUTTON_DOWN
#define MATRIX_PAUSE BUTTON_PLAY
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define MATRIX_EXIT BUTTON_POWER
+#define MATRIX_SLEEP_MORE BUTTON_UP
+#define MATRIX_SLEEP_LESS BUTTON_DOWN
+#define MATRIX_PAUSE BUTTON_PLAYPAUSE
+
#else
#error Unsupported keypad
#endif