summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-03-23 22:32:50 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-19 17:31:13 +0400
commit397863ab3d45bdd8292512a22cd3b436cf281c76 (patch)
treea74a1fd6084875340f978ce67d4dc5ff8716c172 /apps/plugins/lib
parent8187d8d5d158bef269048694fd6e65d89263cd42 (diff)
hm60x: Add support for plugins.
Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/pluginlib_actions.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c
index e22665e8e5..7c6e2e6a02 100644
--- a/apps/plugins/lib/pluginlib_actions.c
+++ b/apps/plugins/lib/pluginlib_actions.c
@@ -117,7 +117,8 @@ const struct button_mapping pla_main_ctx[] =
|| (CONFIG_KEYPAD == SAMSUNG_YH_PAD) \
|| (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) \
|| (CONFIG_KEYPAD == SANSA_CONNECT_PAD) \
- || (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD))
+ || (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) \
+ || (CONFIG_KEYPAD == HM60X_PAD))
{ PLA_UP, BUTTON_UP, BUTTON_NONE },
{ PLA_DOWN, BUTTON_DOWN, BUTTON_NONE },
{ PLA_LEFT, BUTTON_LEFT, BUTTON_NONE },
@@ -273,7 +274,8 @@ const struct button_mapping pla_main_ctx[] =
|| CONFIG_KEYPAD == SANSA_M200_PAD \
|| CONFIG_KEYPAD == MROBE100_PAD \
|| CONFIG_KEYPAD == PHILIPS_HDD1630_PAD \
- || CONFIG_KEYPAD == SANSA_CONNECT_PAD)
+ || CONFIG_KEYPAD == SANSA_CONNECT_PAD \
+ || CONFIG_KEYPAD == HM60X_PAD)
{PLA_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_POWER},
{PLA_EXIT, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE},
{PLA_SELECT, BUTTON_SELECT, BUTTON_NONE},