1
0
Fork 0
forked from len0rd/rockbox

Fix FS#10546 - metronome doesn't work on h1xx/h3xx.

Button mapping table was wrong after some pluginlib_action changes a while ago. Same problem in the Ondio mappings, so I fixed that too.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23658 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Torne Wuff 2009-11-17 22:10:22 +00:00
parent 9848d4beec
commit 9ccccce655

View file

@ -636,7 +636,7 @@ static const struct button_mapping ondio_action[] =
{ {
{METRONOME_PLAY_TAP, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, {METRONOME_PLAY_TAP, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
{METRONOME_PAUSE, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE }, {METRONOME_PAUSE, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE },
{CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_PLUGIN)
}; };
#else /* !ONDIO_PAD */ #else /* !ONDIO_PAD */
#define METRONOME_TAP PLA_FIRE #define METRONOME_TAP PLA_FIRE
@ -649,7 +649,7 @@ static const struct button_mapping ondio_action[] =
static const struct button_mapping iriver_syncaction[] = static const struct button_mapping iriver_syncaction[] =
{ {
{METRONOME_SYNC, BUTTON_REC, BUTTON_NONE }, {METRONOME_SYNC, BUTTON_REC, BUTTON_NONE },
{CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_PLUGIN)
}; };
#endif /* IRIVER_H100_PAD||IRIVER_H300_PAD */ #endif /* IRIVER_H100_PAD||IRIVER_H300_PAD */
#endif /* #if CONFIG_KEYPAD == ONDIO_PAD */ #endif /* #if CONFIG_KEYPAD == ONDIO_PAD */