summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 15:39:33 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 15:39:33 +0000
commit8a8079faffe726ad4d553ef0fd4b034b73328423 (patch)
tree80deb866374c33fd12e30e8f44fe580bee2ad317 /apps/plugins/cube.c
parent4157c23c6fc954cca082bbd7dcdc56f29f4ca202 (diff)
downloadrockbox-8a8079faffe726ad4d553ef0fd4b034b73328423.tar.gz
rockbox-8a8079faffe726ad4d553ef0fd4b034b73328423.tar.bz2
rockbox-8a8079faffe726ad4d553ef0fd4b034b73328423.zip
fuze+: add cube keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30642 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 134d7f50ab..5f4a0f6a69 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -309,6 +309,16 @@
#define CUBE_PAUSE BUTTON_PLAY
#define CUBE_HIGHSPEED BUTTON_ENTER
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define CUBE_QUIT BUTTON_POWER
+#define CUBE_NEXT BUTTON_RIGHT
+#define CUBE_PREV BUTTON_LEFT
+#define CUBE_INC BUTTON_UP
+#define CUBE_DEC BUTTON_DOWN
+#define CUBE_MODE BUTTON_SELECT
+#define CUBE_PAUSE BUTTON_PLAYPAUSE
+#define CUBE_HIGHSPEED BUTTON_BACK
+
#else
#error No keymap defined!
#endif