summaryrefslogtreecommitdiffstats
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-01-24 10:41:42 +0000
committerJens Arnold <amiconn@rockbox.org>2009-01-24 10:41:42 +0000
commit74b97fa139339b62813d94610f8d7710357beb08 (patch)
tree27ed6e55d04880a4a5b38ceca5db73c766f918a7 /apps/plugins/greyscale.c
parent259116cefc595b2ea99841dea9cf8a2c7999740a (diff)
downloadrockbox-74b97fa139339b62813d94610f8d7710357beb08.tar.gz
rockbox-74b97fa139339b62813d94610f8d7710357beb08.tar.bz2
rockbox-74b97fa139339b62813d94610f8d7710357beb08.zip
Add button map for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19844 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 2cd373ea9b..4ff704e93a 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -91,6 +91,14 @@ PLUGIN_HEADER
#define GREYSCALE_RC_OFF BUTTON_REC
+#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
+#define GREYSCALE_SHIFT BUTTON_SELECT
+#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
+
#endif
#define GFX_HEIGHT (LCD_HEIGHT-8)