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>
This commit is contained in:
Sebastian Leonhardt 2014-05-22 23:34:52 +02:00 committed by Szymon Dziok
parent 4b181b4517
commit 7f7aee3f24
62 changed files with 123 additions and 63 deletions

View file

@ -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