summaryrefslogtreecommitdiff
path: root/apps/plugins/fft/fft.c
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2014-05-22 23:34:52 +0200
committerSzymon Dziok <b0hoon@o2.pl>2014-05-24 00:50:11 +0200
commit7f7aee3f2457818547ec065ddd65bea0b3a68983 (patch)
tree84cfadca3187bf65d569cb5456c8d78245823b23 /apps/plugins/fft/fft.c
parent4b181b4517fad106ab1ffbdab01adac9cf8e4bee (diff)
downloadrockbox-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/fft/fft.c')
-rw-r--r--apps/plugins/fft/fft.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 466322e34c..e591954664 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -215,7 +215,8 @@ GREY_INFO_STRUCT
215# define FFT_FREQ_SCALE BUTTON_DOWN 215# define FFT_FREQ_SCALE BUTTON_DOWN
216# define FFT_QUIT BUTTON_POWER 216# define FFT_QUIT BUTTON_POWER
217 217
218#elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD) 218#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \
219 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD)
219# define FFT_PREV_GRAPH BUTTON_LEFT 220# define FFT_PREV_GRAPH BUTTON_LEFT
220# define FFT_NEXT_GRAPH BUTTON_RIGHT 221# define FFT_NEXT_GRAPH BUTTON_RIGHT
221# define FFT_ORIENTATION BUTTON_UP 222# define FFT_ORIENTATION BUTTON_UP