forked from len0rd/rockbox
gigabeat related changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8885 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f2fe4e0c4c
commit
8d0a32eb4b
8 changed files with 503 additions and 4 deletions
|
|
@ -16,6 +16,12 @@
|
|||
#define MENU_BUTTON_LEFT BUTTON_LEFT
|
||||
#define MENU_BUTTON_RIGHT BUTTON_RIGHT
|
||||
#define MENU_BUTTON_CANCEL BUTTON_MENU
|
||||
#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
|
||||
#define MENU_BUTTON_UP BUTTON_UP
|
||||
#define MENU_BUTTON_DOWN BUTTON_DOWN
|
||||
#define MENU_BUTTON_LEFT BUTTON_LEFT
|
||||
#define MENU_BUTTON_RIGHT BUTTON_RIGHT
|
||||
#define MENU_BUTTON_CANCEL BUTTON_A
|
||||
#else
|
||||
#define MENU_BUTTON_UP BUTTON_UP
|
||||
#define MENU_BUTTON_DOWN BUTTON_DOWN
|
||||
|
|
|
|||
|
|
@ -126,6 +126,13 @@ void setoptions (void) {
|
|||
options.START=BUTTON_MODE;
|
||||
options.SELECT=(BUTTON_SELECT | BUTTON_REL);
|
||||
options.MENU=(BUTTON_SELECT | BUTTON_REPEAT);
|
||||
|
||||
#elif CONFIG_KEYPAD == GIGABEAT_PAD
|
||||
options.A=BUTTON_VOL_UP;
|
||||
options.B=BUTTON_VOL_DOWN;
|
||||
options.START=BUTTON_POWER;
|
||||
options.SELECT=BUTTON_SELECT;
|
||||
options.MENU=BUTTON_MENU;
|
||||
#endif
|
||||
|
||||
options.maxskip=4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue