fft plugin: add touchscreen key-mapping and enable plugin for touchscreen targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24611 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2010-02-11 23:10:09 +00:00
parent 05577e48a8
commit 726088f9e6
2 changed files with 22 additions and 1 deletions

View file

@ -19,7 +19,7 @@ rockboy
#ifdef HAVE_TAGCACHE #ifdef HAVE_TAGCACHE
pictureflow pictureflow
#endif #endif
#if CONFIG_CODEC == SWCODEC && !defined(HAVE_TOUCHSCREEN) #if (CONFIG_CODEC == SWCODEC)
fft fft
#endif #endif
chessbox chessbox

View file

@ -182,6 +182,27 @@ GREY_INFO_STRUCT
#error No keymap defined! #error No keymap defined!
#endif #endif
#ifdef HAVE_TOUCHSCREEN
#ifndef FFT_PREV_GRAPH
# define FFT_PREV_GRAPH BUTTON_MIDLEFT
#endif
#ifndef FFT_NEXT_GRAPH
# define FFT_NEXT_GRAPH BUTTON_MIDRIGHT
#endif
#ifndef FFT_ORIENTATION
# define FFT_ORIENTATION BUTTON_CENTER
#endif
#ifndef FFT_WINDOW
# define FFT_WINDOW BUTTON_TOPLEFT
#endif
#ifndef FFT_SCALE
# define FFT_SCALE BUTTON_TOPRIGHT
#endif
#ifndef FFT_QUIT
# define FFT_QUIT BUTTON_BOTTOMLEFT
#endif
#endif
#ifdef HAVE_LCD_COLOR #ifdef HAVE_LCD_COLOR
#include "pluginbitmaps/fft_colors.h" #include "pluginbitmaps/fft_colors.h"
#endif #endif