From e08331eef4555a17145d2fd2af1d5a9b5ce6d624 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 17 Jul 2014 10:40:17 +0200 Subject: zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size. Change-Id: If4651c87b402060faa24530985c6e871379c8ea1 --- apps/plugins/fft/fft.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/fft') diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index 9f51102979..d4b79b2ea7 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c @@ -311,6 +311,14 @@ GREY_INFO_STRUCT # define FFT_ORIENTATION BUTTON_POWER # define FFT_WINDOW BUTTON_PLAY +#elif (CONFIG_KEYPAD == CREATIVE_ZEN_PAD) +# define FFT_PREV_GRAPH BUTTON_LEFT +# define FFT_NEXT_GRAPH BUTTON_RIGHT +# define FFT_AMP_SCALE BUTTON_UP +# define FFT_FREQ_SCALE BUTTON_DOWN +# define FFT_QUIT BUTTON_BACK +# define FFT_ORIENTATION BUTTON_SELECT +# define FFT_WINDOW BUTTON_MENU #elif !defined(HAVE_TOUCHSCREEN) #error No keymap defined! -- cgit v1.2.3