summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-10 17:28:26 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-10 17:28:26 +0000
commite6cbad69745455d0ad23004c609a909a2cdabcf4 (patch)
treef512eab0f41420969f750138b76b46931bf57956 /apps/plugins/cube.c
parentec797ed62225a5f78f37e9342ac6e183332f795b (diff)
downloadrockbox-e6cbad69745455d0ad23004c609a909a2cdabcf4.tar.gz
rockbox-e6cbad69745455d0ad23004c609a909a2cdabcf4.tar.bz2
rockbox-e6cbad69745455d0ad23004c609a909a2cdabcf4.zip
FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 2f100b2f79..1cd8740b1a 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -130,8 +130,7 @@ PLUGIN_HEADER
#define CUBE_PAUSE BUTTON_SELECT
#define CUBE_HIGHSPEED BUTTON_A
-#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
- (CONFIG_KEYPAD == SANSA_FUZE_PAD)
+#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
#define CUBE_QUIT BUTTON_POWER
#define CUBE_NEXT BUTTON_RIGHT
#define CUBE_PREV BUTTON_LEFT
@@ -141,6 +140,16 @@ PLUGIN_HEADER
#define CUBE_PAUSE BUTTON_UP
#define CUBE_HIGHSPEED BUTTON_SELECT
+#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
+#define CUBE_QUIT (BUTTON_HOME|BUTTON_REPEAT)
+#define CUBE_NEXT BUTTON_RIGHT
+#define CUBE_PREV BUTTON_LEFT
+#define CUBE_INC BUTTON_SCROLL_FWD
+#define CUBE_DEC BUTTON_SCROLL_BACK
+#define CUBE_MODE BUTTON_DOWN
+#define CUBE_PAUSE BUTTON_UP
+#define CUBE_HIGHSPEED BUTTON_SELECT
+
#elif (CONFIG_KEYPAD == SANSA_C200_PAD) || \
(CONFIG_KEYPAD == SANSA_CLIP_PAD) || \
(CONFIG_KEYPAD == SANSA_M200_PAD)