summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
commitcea285d64e34f8c2ecce676f6239b59608597019 (patch)
treeaba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/cube.c
parent203722136c5f50d7deab432739e991faa48e470f (diff)
downloadrockbox-cea285d64e34f8c2ecce676f6239b59608597019.tar.gz
rockbox-cea285d64e34f8c2ecce676f6239b59608597019.zip
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 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 fde3b7583c..3e27cbb053 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -215,6 +215,16 @@ PLUGIN_HEADER
#define CUBE_PAUSE BUTTON_PLAY
#define CUBE_HIGHSPEED BUTTON_STOP
+#elif CONFIG_KEYPAD == CREATIVEZVM_PAD
+#define CUBE_QUIT BUTTON_BACK
+#define CUBE_NEXT BUTTON_RIGHT
+#define CUBE_PREV BUTTON_LEFT
+#define CUBE_INC BUTTON_UP
+#define CUBE_DEC BUTTON_DOWN
+#define CUBE_MODE BUTTON_MENU
+#define CUBE_PAUSE BUTTON_PLAY
+#define CUBE_HIGHSPEED BUTTON_SELECT
+
#else
#error No keymap defined!
#endif