diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2014-05-22 23:34:52 +0200 |
---|---|---|
committer | Szymon Dziok <b0hoon@o2.pl> | 2014-05-24 00:50:11 +0200 |
commit | 7f7aee3f2457818547ec065ddd65bea0b3a68983 (patch) | |
tree | 84cfadca3187bf65d569cb5456c8d78245823b23 /apps/plugins/lib | |
parent | 4b181b4517fad106ab1ffbdab01adac9cf8e4bee (diff) |
Separate keymaps for YH-820 and YH-920/925
Although both players basically have the same keys, the
differences in the layout is rather big, so I think both
deserve their own keymaps.
(On the yh820 the FFWD/PLAY/REW buttons are located above the
direction keys, on the yh920 at the side of the player.
Furthermore the yh920/925 has a REC switch, whereas
yh820 has a push button.)
Change-Id: I0e62a1b101c387646c0bdb07ea142d9d2430ca15
Reviewed-on: http://gerrit.rockbox.org/814
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index b1389ede3f..fb54dce1c8 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c @@ -114,7 +114,8 @@ const struct button_mapping pla_main_ctx[] = || (CONFIG_KEYPAD == SANSA_M200_PAD)\ || (CONFIG_KEYPAD == SANSA_E200_PAD) \ || (CONFIG_KEYPAD == SANSA_FUZE_PAD) \ - || (CONFIG_KEYPAD == SAMSUNG_YH_PAD) \ + || (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) \ + || (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) \ || (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) \ || (CONFIG_KEYPAD == SANSA_CONNECT_PAD) \ || (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) \ @@ -383,7 +384,8 @@ const struct button_mapping pla_main_ctx[] = {PLA_SELECT, BUTTON_VOL_UP, BUTTON_NONE}, {PLA_SELECT_REL, BUTTON_VOL_UP|BUTTON_REL, BUTTON_VOL_UP}, {PLA_SELECT_REPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE}, -#elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD) +#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) \ + || (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) {PLA_CANCEL, BUTTON_REW, BUTTON_NONE}, {PLA_EXIT, BUTTON_FFWD, BUTTON_NONE}, {PLA_SELECT, BUTTON_PLAY, BUTTON_NONE}, |