From 7f7aee3f2457818547ec065ddd65bea0b3a68983 Mon Sep 17 00:00:00 2001 From: Sebastian Leonhardt Date: Thu, 22 May 2014 23:34:52 +0200 Subject: 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 --- apps/plugins/mpegplayer/mpegplayer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugins/mpegplayer/mpegplayer.c') diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 706d1546da..2e84a870a9 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -317,7 +317,8 @@ CONFIG_KEYPAD == SANSA_M200_PAD #elif CONFIG_KEYPAD == ONDAVX777_PAD #define MPEG_MENU BUTTON_POWER -#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD +#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ + (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) #define MPEG_MENU BUTTON_LEFT #define MPEG_STOP BUTTON_RIGHT #define MPEG_PAUSE BUTTON_PLAY -- cgit v1.2.3