summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-06-01 17:33:20 +0000
committerThomas Martitz <kugel@rockbox.org>2009-06-01 17:33:20 +0000
commitc825fbac93f45b0e8b38141705b8ac8227cc2fde (patch)
tree446b894c9b0c7ef622b8241fbd3b4b1b0ada2d8e
parent0b6ff6660ae0c357a3baabcded8d6d9f3822ad57 (diff)
downloadrockbox-c825fbac93f45b0e8b38141705b8ac8227cc2fde.tar.gz
rockbox-c825fbac93f45b0e8b38141705b8ac8227cc2fde.tar.bz2
rockbox-c825fbac93f45b0e8b38141705b8ac8227cc2fde.zip
Move the ONDIO_PAD to the others which have the same keymap in the generic directions PLA context.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21158 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/lib/pluginlib_actions.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c
index e870c79b9c..776dd2e738 100644
--- a/apps/plugins/lib/pluginlib_actions.c
+++ b/apps/plugins/lib/pluginlib_actions.c
@@ -94,6 +94,7 @@ const struct button_mapping generic_directions[] =
|| (CONFIG_KEYPAD == RECORDER_PAD) \
|| (CONFIG_KEYPAD == ARCHOS_AV300_PAD) \
|| (CONFIG_KEYPAD == IRIVER_IFP7XX_PAD) \
+ || (CONFIG_KEYPAD == ONDIO_PAD) \
|| (CONFIG_KEYPAD == SANSA_C200_PAD) \
|| (CONFIG_KEYPAD == GIGABEAT_S_PAD) \
|| (CONFIG_KEYPAD == MROBE100_PAD) \
@@ -123,15 +124,6 @@ const struct button_mapping generic_directions[] =
{ PLA_DOWN_REPEAT, BUTTON_SCROLL_FWD|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 == ONDIO_PAD
- { PLA_UP, BUTTON_UP, BUTTON_NONE},
- { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE},
- { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE},
- { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE},
- { PLA_UP_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE},
- { PLA_DOWN_REPEAT, BUTTON_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 == PLAYER_PAD
{PLA_UP, BUTTON_STOP, BUTTON_NONE},
{PLA_DOWN, BUTTON_PLAY, BUTTON_NONE},