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