Add iaudio x5 support to the color picker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0592fc786b
commit
14fe89aa8d
1 changed files with 9 additions and 0 deletions
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue