diff options
author | Nils Stec <nils.stec@gmail.com> | 2014-06-30 20:24:15 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-06-30 21:20:15 +0200 |
commit | c9816f57bf8782fd2ce6487aa0dc0f739145b631 (patch) | |
tree | af0f7314182fb8ee278ced53b7f79615312f32d2 /apps/plugins/fft | |
parent | 6e575b6c7011827c042cba7b27537c1ceec9ef24 (diff) | |
download | rockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.tar.gz rockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.zip |
Introduce plugin keymaps for the Sony NWZ Series
Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e
Reviewed-on: http://gerrit.rockbox.org/879
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'apps/plugins/fft')
-rw-r--r-- | apps/plugins/fft/fft.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index 2b7f6a4fbe..28c3cd045c 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c | |||
@@ -302,6 +302,15 @@ GREY_INFO_STRUCT | |||
302 | # define FFT_WINDOW BUTTON_PLAY | 302 | # define FFT_WINDOW BUTTON_PLAY |
303 | # define FFT_QUIT BUTTON_POWER | 303 | # define FFT_QUIT BUTTON_POWER |
304 | 304 | ||
305 | #elif (CONFIG_KEYPAD == SONY_NWZ_PAD) | ||
306 | #define FFT_PREV_GRAPH BUTTON_LEFT | ||
307 | #define FFT_NEXT_GRAPH BUTTON_RIGHT | ||
308 | #define FFT_AMP_SCALE BUTTON_UP | ||
309 | #define FFT_FREQ_SCALE BUTTON_DOWN | ||
310 | #define FFT_QUIT BUTTON_BACK | ||
311 | #define FFT_ORIENTATION BUTTON_POWER | ||
312 | #define FFT_WINDOW BUTTON_PLAY | ||
313 | |||
305 | #elif !defined(HAVE_TOUCHSCREEN) | 314 | #elif !defined(HAVE_TOUCHSCREEN) |
306 | #error No keymap defined! | 315 | #error No keymap defined! |
307 | #endif | 316 | #endif |