forked from len0rd/rockbox
Enable plugins on the Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b13d87ec3
commit
fef405c328
62 changed files with 258 additions and 15 deletions
|
@ -169,6 +169,7 @@ const struct button_mapping generic_directions[] =
|
|||
{ PLA_DOWN_REPEAT, BUTTON_PLAY|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 == ONDAVX747_PAD) /* Touchscreen target */
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
@ -290,6 +291,7 @@ const struct button_mapping generic_left_right_fire[] =
|
|||
{ PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{ PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) /* Touchscreen target */
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
@ -440,6 +442,12 @@ const struct button_mapping generic_actions[] =
|
|||
{PLA_MENU, BUTTON_MENU, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == ONDAVX747_PAD)
|
||||
{PLA_QUIT, BUTTON_POWER, BUTTON_NONE},
|
||||
{PLA_START, BUTTON_VOL_DOWN, BUTTON_NONE},
|
||||
{PLA_MENU, BUTTON_MENU, BUTTON_NONE},
|
||||
{PLA_FIRE, BUTTON_VOL_UP, BUTTON_NONE},
|
||||
{PLA_FIRE_REPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
@ -515,6 +523,11 @@ const struct button_mapping generic_increase_decrease[] =
|
|||
{PLA_DEC, BUTTON_VOLDOWN, BUTTON_NONE},
|
||||
{PLA_INC_REPEAT, BUTTON_VOLUP|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{PLA_DEC_REPEAT, BUTTON_VOLDOWN|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif CONFIG_KEYPAD == ONDAVX747_PAD
|
||||
{PLA_INC, BUTTON_VOL_UP, BUTTON_NONE},
|
||||
{PLA_DEC, BUTTON_VOL_DOWN, BUTTON_NONE},
|
||||
{PLA_INC_REPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{PLA_DEC_REPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
#error pluginlib_actions: Unsupported keypad
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue