summaryrefslogtreecommitdiff
path: root/apps/plugins/fft/fft.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-28 06:24:26 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2018-07-28 10:56:31 -0400
commit0662793ca0050e823cd1207cc4689a1cba5068bd (patch)
tree08cd2ec59c9044c96b697b5bf8d0640841d044e0 /apps/plugins/fft/fft.c
parentb3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff)
downloadrockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz
rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'apps/plugins/fft/fft.c')
-rw-r--r--apps/plugins/fft/fft.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index a83bd36557..e5750c109a 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -334,6 +334,15 @@ GREY_INFO_STRUCT
334# define FFT_ORIENTATION BUTTON_SELECT 334# define FFT_ORIENTATION BUTTON_SELECT
335# define FFT_WINDOW BUTTON_VOLDOWN 335# define FFT_WINDOW BUTTON_VOLDOWN
336 336
337#elif (CONFIG_KEYPAD == XDUOO_X3_PAD)
338# define FFT_PREV_GRAPH BUTTON_PREV
339# define FFT_NEXT_GRAPH BUTTON_NEXT
340# define FFT_ORIENTATION BUTTON_HOME
341# define FFT_FREQ_SCALE BUTTON_OPTION
342# define FFT_WINDOW (BUTTON_HOME|BUTTON_POWER)
343# define FFT_AMP_SCALE BUTTON_PLAY
344# define FFT_QUIT BUTTON_POWER
345
337#elif !defined(HAVE_TOUCHSCREEN) 346#elif !defined(HAVE_TOUCHSCREEN)
338#error No keymap defined! 347#error No keymap defined!
339#endif 348#endif