MPIO HD200: adjust FM keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28446 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
450a4e4380
commit
def6290ba2
2 changed files with 11 additions and 3 deletions
|
@ -152,8 +152,8 @@ static const struct button_mapping button_context_radio[] = {
|
|||
{ ACTION_FM_PRESET, BUTTON_FUNC|BUTTON_REL, BUTTON_FUNC },
|
||||
/* { ACTION_FM_RECORD, BUTTON_, BUTTON_ }, */
|
||||
/* { ACTION_FM_FREEZE, BUTTON_, BUTTON_ }, */
|
||||
{ ACTION_FM_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY },
|
||||
{ ACTION_FM_MODE, BUTTON_FUNC, BUTTON_NONE },
|
||||
{ ACTION_FM_STOP, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_FM_MODE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY },
|
||||
{ ACTION_FM_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_REC },
|
||||
{ ACTION_FM_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
|
||||
/* { ACTION_FM_RECORD_DBLPRE, BUTTON_, BUTTON_ }, */
|
||||
|
|
|
@ -134,6 +134,14 @@
|
|||
#define FM_PLAY
|
||||
#define FM_MODE
|
||||
|
||||
#elif (CONFIG_KEYPAD == MPIO_HD200_PAD)
|
||||
#define FM_MENU
|
||||
#define FM_STOP
|
||||
#define FM_EXIT
|
||||
#define FM_PLAY
|
||||
#define FM_MODE
|
||||
#define FM_STOP
|
||||
|
||||
#endif
|
||||
|
||||
/* presets.c needs these so keep unstatic or redo the whole thing! */
|
||||
|
|
Loading…
Reference in a new issue