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/text_viewer | |
parent | 4b181b4517fad106ab1ffbdab01adac9cf8e4bee (diff) | |
download | rockbox-7f7aee3f2457818547ec065ddd65bea0b3a68983.tar.gz rockbox-7f7aee3f2457818547ec065ddd65bea0b3a68983.zip |
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/text_viewer')
-rw-r--r-- | apps/plugins/text_viewer/tv_button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h index ac88e9b5d4..b63f8780ea 100644 --- a/apps/plugins/text_viewer/tv_button.h +++ b/apps/plugins/text_viewer/tv_button.h | |||
@@ -381,7 +381,8 @@ | |||
381 | #define TV_BOOKMARK (BUTTON_RIGHT|BUTTON_POWER) | 381 | #define TV_BOOKMARK (BUTTON_RIGHT|BUTTON_POWER) |
382 | 382 | ||
383 | /* SAMSUNG YH-820 / YH-920 / YH-925 keys */ | 383 | /* SAMSUNG YH-820 / YH-920 / YH-925 keys */ |
384 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD | 384 | #elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ |
385 | (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) | ||
385 | #define TV_QUIT BUTTON_REC | 386 | #define TV_QUIT BUTTON_REC |
386 | #define TV_SCROLL_UP BUTTON_UP | 387 | #define TV_SCROLL_UP BUTTON_UP |
387 | #define TV_SCROLL_DOWN BUTTON_DOWN | 388 | #define TV_SCROLL_DOWN BUTTON_DOWN |