Add iaudio x5 support to the color picker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8844 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 0da6009..8c7e1de 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -53,6 +53,15 @@
#define SLIDER_RIGHT BUTTON_SCROLL_FWD
#define SLIDER_OK BUTTON_SELECT
#define SLIDER_CANCEL BUTTON_MENU
+
+#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
+#define SLIDER_UP BUTTON_UP
+#define SLIDER_DOWN BUTTON_DOWN
+#define SLIDER_LEFT BUTTON_LEFT
+#define SLIDER_RIGHT BUTTON_RIGHT
+#define SLIDER_OK BUTTON_SELECT
+#define SLIDER_CANCEL BUTTON_PLAY
+
#endif
static const int max_val[3] = {LCD_MAX_RED,LCD_MAX_GREEN,LCD_MAX_BLUE};