summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/color_picker.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 0da6009658..8c7e1deb0b 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -53,6 +53,15 @@
53#define SLIDER_RIGHT BUTTON_SCROLL_FWD 53#define SLIDER_RIGHT BUTTON_SCROLL_FWD
54#define SLIDER_OK BUTTON_SELECT 54#define SLIDER_OK BUTTON_SELECT
55#define SLIDER_CANCEL BUTTON_MENU 55#define SLIDER_CANCEL BUTTON_MENU
56
57#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
58#define SLIDER_UP BUTTON_UP
59#define SLIDER_DOWN BUTTON_DOWN
60#define SLIDER_LEFT BUTTON_LEFT
61#define SLIDER_RIGHT BUTTON_RIGHT
62#define SLIDER_OK BUTTON_SELECT
63#define SLIDER_CANCEL BUTTON_PLAY
64
56#endif 65#endif
57 66
58static const int max_val[3] = {LCD_MAX_RED,LCD_MAX_GREEN,LCD_MAX_BLUE}; 67static const int max_val[3] = {LCD_MAX_RED,LCD_MAX_GREEN,LCD_MAX_BLUE};