summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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)