summaryrefslogtreecommitdiffstats
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-01-13 12:30:11 +0000
committerJens Arnold <amiconn@rockbox.org>2008-01-13 12:30:11 +0000
commit66ad9b1c08db1b33d44072ffe1730825d9fb7839 (patch)
tree116f8663117d38ec7ee703842f8092bcb617807e /apps/plugins/greyscale.c
parentd37c622630563bd695e75f2775cbfcd42376fe41 (diff)
downloadrockbox-66ad9b1c08db1b33d44072ffe1730825d9fb7839.tar.gz
rockbox-66ad9b1c08db1b33d44072ffe1730825d9fb7839.zip
Greyscale test plugin: Add missing button definitions for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r--apps/plugins/greyscale.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c
index 6a574f3f6f..aa69f18349 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -54,6 +54,14 @@ PLUGIN_HEADER
#define GREYSCALE_RC_OFF BUTTON_RC_STOP
+#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
+#define GREYSCALE_SHIFT BUTTON_PLAY /* won't work, but define it anyway */
+#define GREYSCALE_UP BUTTON_UP
+#define GREYSCALE_DOWN BUTTON_DOWN
+#define GREYSCALE_LEFT BUTTON_LEFT
+#define GREYSCALE_RIGHT BUTTON_RIGHT
+#define GREYSCALE_OFF BUTTON_POWER
+
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
#define GREYSCALE_SHIFT BUTTON_SELECT