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:
Marcin Bukat 2010-11-02 12:15:39 +00:00
parent 450a4e4380
commit def6290ba2
2 changed files with 11 additions and 3 deletions

View file

@ -150,10 +150,10 @@ static const struct button_mapping button_context_pitchscreen[] = {
static const struct button_mapping button_context_radio[] = { static const struct button_mapping button_context_radio[] = {
{ ACTION_FM_MENU, BUTTON_FUNC|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_MENU, BUTTON_FUNC|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_PRESET, BUTTON_FUNC|BUTTON_REL, BUTTON_FUNC }, { ACTION_FM_PRESET, BUTTON_FUNC|BUTTON_REL, BUTTON_FUNC },
/* { ACTION_FM_RECORD, BUTTON_, BUTTON_ }, */ /* { ACTION_FM_RECORD, BUTTON_, BUTTON_ }, */
/* { ACTION_FM_FREEZE, BUTTON_, BUTTON_ }, */ /* { ACTION_FM_FREEZE, BUTTON_, BUTTON_ }, */
{ ACTION_FM_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, { ACTION_FM_STOP, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_MODE, BUTTON_FUNC, BUTTON_NONE }, { ACTION_FM_MODE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY },
{ ACTION_FM_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_REC }, { ACTION_FM_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_REC },
{ ACTION_FM_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, { ACTION_FM_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
/* { ACTION_FM_RECORD_DBLPRE, BUTTON_, BUTTON_ }, */ /* { ACTION_FM_RECORD_DBLPRE, BUTTON_, BUTTON_ }, */

View file

@ -134,6 +134,14 @@
#define FM_PLAY #define FM_PLAY
#define FM_MODE #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 #endif
/* presets.c needs these so keep unstatic or redo the whole thing! */ /* presets.c needs these so keep unstatic or redo the whole thing! */