add PLA keys for mrobe, and dont bother compiling any plugins yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15258 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3c1b9d9d70
commit
5f3af14568
3 changed files with 25 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
#ifndef OLYMPUS_MROBE_500
|
||||
/* plugins common to all models */
|
||||
battery_bench.c
|
||||
chessclock.c
|
||||
|
@ -141,3 +142,4 @@ iriver_flash.c
|
|||
/* Built for bitmap targets except H10 5/6gb, Archoses, iPod mini and ifp */
|
||||
superdom.c
|
||||
#endif
|
||||
#endif /* m:robe 500 */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef IRIVER_IFP7XX_SERIES
|
||||
#if !defined(IRIVER_IFP7XX_SERIES) && !defined(OLYMPUS_MROBE_500)
|
||||
|
||||
/* For all targets */
|
||||
shortcuts
|
||||
|
|
|
@ -120,7 +120,15 @@ const struct button_mapping generic_directions[] =
|
|||
{ PLA_DOWN_REPEAT, BUTTON_SCROLL_DOWN|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
|
||||
#elif (CONFIG_KEYPAD == MROBE500_PAD)
|
||||
{ PLA_UP, BUTTON_RC_PLAY, BUTTON_NONE},
|
||||
{ PLA_DOWN, BUTTON_RC_DOWN, BUTTON_NONE},
|
||||
{ PLA_LEFT, BUTTON_RC_REW, BUTTON_NONE},
|
||||
{ PLA_RIGHT, BUTTON_RC_FF, BUTTON_NONE},
|
||||
{ PLA_UP_REPEAT, BUTTON_RC_PLAY|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_DOWN_REPEAT, BUTTON_RC_DOWN|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_LEFT_REPEAT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
@ -192,6 +200,13 @@ const struct button_mapping generic_left_right_fire[] =
|
|||
{ PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_FIRE, BUTTON_REW, BUTTON_NONE},
|
||||
{ PLA_FIRE_REPEAT, BUTTON_REW|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == MROBE500_PAD)
|
||||
{ PLA_LEFT, BUTTON_RC_REW, BUTTON_NONE},
|
||||
{ PLA_RIGHT, BUTTON_RC_FF, BUTTON_NONE},
|
||||
{ PLA_LEFT_REPEAT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE},
|
||||
{ PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
@ -283,6 +298,12 @@ const struct button_mapping generic_actions[] =
|
|||
{PLA_MENU, BUTTON_MODE, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == MROBE500_PAD)
|
||||
{PLA_QUIT, BUTTON_POWER, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_RC_PLAY, BUTTON_NONE},
|
||||
{PLA_MENU, BUTTON_RC_MODE, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue