diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
| commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
| tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/gui | |
| parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
| download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.bz2 rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.xz | |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/list.h | 5 | ||||
| -rw-r--r-- | apps/gui/select.h | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h index 4f02693..25fb07d 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -78,6 +78,11 @@ #define LIST_PREV BUTTON_UP #define LIST_PGUP (BUTTON_ON | BUTTON_UP) #define LIST_PGDN (BUTTON_ON | BUTTON_DOWN) + +#elif CONFIG_KEYPAD == IAUDIO_X5_PAD +#define LIST_NEXT BUTTON_DOWN +#define LIST_PREV BUTTON_UP + #endif /* diff --git a/apps/gui/select.h b/apps/gui/select.h index 3f6dd14..00c05c8 100644 --- a/apps/gui/select.h +++ b/apps/gui/select.h @@ -85,6 +85,14 @@ #define SELECT_CANCEL BUTTON_OFF #define SELECT_CANCEL2 BUTTON_MENU +#elif CONFIG_KEYPAD == IAUDIO_X5_PAD +#define SELECT_INC BUTTON_UP +#define SELECT_DEC BUTTON_DOWN +#define SELECT_OK BUTTON_MENU +#define SELECT_OK2 BUTTON_LEFT +#define SELECT_CANCEL BUTTON_PLAY +#define SELECT_CANCEL2 BUTTON_POWER + #endif struct gui_select |