summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:51:17 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:51:17 +0000
commit8bd4037ff9a39c7c05e5e42492f51fff96eaecf3 (patch)
tree24ff9ea0a4988c4a120a615903a6c5311e3b63b4 /apps/plugins/star.c
parent61deadf87a389e140a1d23f4cfabc3cac685e798 (diff)
downloadrockbox-8bd4037ff9a39c7c05e5e42492f51fff96eaecf3.tar.gz
rockbox-8bd4037ff9a39c7c05e5e42492f51fff96eaecf3.tar.bz2
rockbox-8bd4037ff9a39c7c05e5e42492f51fff96eaecf3.zip
fuze+: add star keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30674 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index c9797fd85b..ebdaca58c3 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -446,6 +446,23 @@
#define STAR_LEVEL_DOWN_NAME "REC"
#define STAR_LEVEL_REPEAT_NAME "MENU LONG"
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+
+#define STAR_QUIT BUTTON_POWER
+#define STAR_LEFT BUTTON_LEFT
+#define STAR_RIGHT BUTTON_RIGHT
+#define STAR_UP BUTTON_UP
+#define STAR_DOWN BUTTON_DOWN
+#define STAR_TOGGLE_CONTROL BUTTON_SELECT
+#define STAR_LEVEL_UP BUTTON_VOL_UP
+#define STAR_LEVEL_DOWN BUTTON_VOL_DOWN
+#define STAR_LEVEL_REPEAT (BUTTON_BACK | BUTTON_REPEAT)
+#define STAR_TOGGLE_CONTROL_NAME "SELECT"
+#define STAR_QUIT_NAME "POWER"
+#define STAR_LEVEL_UP_NAME "Vol+"
+#define STAR_LEVEL_DOWN_NAME "Vol-"
+#define STAR_LEVEL_REPEAT_NAME "BACK LONG"
+
#else
#error No keymap defined!
#endif