forked from len0rd/rockbox
Dice plugin now works on remote and uses the action api ; cleaned up the code a little bit as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b2585ce3de
commit
21cc9a6d76
2 changed files with 110 additions and 187 deletions
|
@ -219,8 +219,9 @@ static const struct button_mapping generic_actions[] =
|
|||
{
|
||||
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
|
||||
{PLA_QUIT, BUTTON_OFF, BUTTON_NONE},
|
||||
{PLA_QUIT, BUTTON_RC_STOP, BUTTON_NONE},
|
||||
{PLA_QUIT, BUTTON_RC_STOP, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_ON, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_RC_ON, BUTTON_NONE},
|
||||
{PLA_MENU, BUTTON_MODE, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
|
@ -233,6 +234,7 @@ static const struct button_mapping generic_actions[] =
|
|||
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
|
||||
{PLA_QUIT, BUTTON_POWER, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_PLAY, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_RC_PLAY, BUTTON_NONE},
|
||||
{PLA_MENU, BUTTON_REC, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue