summaryrefslogtreecommitdiffstats
path: root/apps/gui/color_picker.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/color_picker.c')
-rw-r--r--apps/gui/color_picker.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index f2e482c651..4618cb6bc0 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -77,6 +77,14 @@
#define SLIDER_RC_OK BUTTON_RC_PLAY
#define SLIDER_RC_CANCEL BUTTON_RC_REC
+#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
+#define SLIDER_UP BUTTON_SCROLL_UP
+#define SLIDER_DOWN BUTTON_SCROLL_DOWN
+#define SLIDER_LEFT BUTTON_LEFT
+#define SLIDER_RIGHT BUTTON_RIGHT
+#define SLIDER_OK BUTTON_PLAY
+#define SLIDER_CANCEL BUTTON_POWER
+
#endif
static const int max_val[3] = {LCD_MAX_RED,LCD_MAX_GREEN,LCD_MAX_BLUE};