summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mosaique.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-12-14 01:31:37 +0000
committerDave Chapman <dave@dchapman.com>2005-12-14 01:31:37 +0000
commit54d44c893f0d0ed4403ae7af220224e6646f6dda (patch)
treeb5665adfe8b496dfbce73ce65d4f8151495b0c9b /apps/plugins/mosaique.c
parentc75425511ea8d0bfdb77d4336117ec7114ef87c8 (diff)
downloadrockbox-54d44c893f0d0ed4403ae7af220224e6646f6dda.tar.gz
rockbox-54d44c893f0d0ed4403ae7af220224e6646f6dda.tar.bz2
rockbox-54d44c893f0d0ed4403ae7af220224e6646f6dda.zip
iPod: Initial attempt at button mappings for plugins. All plugins now compile, but more work is needed with the more complex ones to make them iPod friendly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mosaique.c')
-rw-r--r--apps/plugins/mosaique.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/mosaique.c b/apps/plugins/mosaique.c
index 75bd155338..a05d1656c8 100644
--- a/apps/plugins/mosaique.c
+++ b/apps/plugins/mosaique.c
@@ -50,6 +50,11 @@
#define MOSAIQUE_QUIT BUTTON_OFF
#define MOSAIQUE_SPEED BUTTON_MODE
#define MOSAIQUE_RESTART BUTTON_ON
+
+#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD)
+#define MOSAIQUE_QUIT BUTTON_MENU
+#define MOSAIQUE_SPEED BUTTON_SELECT
+#define MOSAIQUE_RESTART BUTTON_PLAY
#endif
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)