diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
commit | 1392dc2144a4b1810ba5c421f54e05dc1a3a74c7 (patch) | |
tree | 7f7f7d6dd6ce00e8146896456549441d4e8153d7 /apps/plugins/plasma.c | |
parent | 965d2af61f5035dcf5179b8539785de641a9f015 (diff) | |
download | rockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.tar.gz rockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.zip |
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r-- | apps/plugins/plasma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index 35ce9daa83..e1527e1907 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c | |||
@@ -104,7 +104,7 @@ static int plasma_frequency; | |||
104 | 104 | ||
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | #ifdef HAVE_TOUCHPAD | 107 | #ifdef HAVE_TOUCHSCREEN |
108 | #ifndef PLASMA_QUIT | 108 | #ifndef PLASMA_QUIT |
109 | #define PLASMA_QUIT BUTTON_TOPLEFT | 109 | #define PLASMA_QUIT BUTTON_TOPLEFT |
110 | #endif | 110 | #endif |
@@ -114,7 +114,7 @@ static int plasma_frequency; | |||
114 | #ifndef PLASMA_DECREASE_FREQUENCY | 114 | #ifndef PLASMA_DECREASE_FREQUENCY |
115 | #define PLASMA_DECREASE_FREQUENCY BUTTON_MIDLEFT | 115 | #define PLASMA_DECREASE_FREQUENCY BUTTON_MIDLEFT |
116 | #endif | 116 | #endif |
117 | #endif /* HAVE_TOUCHPAD */ | 117 | #endif /* HAVE_TOUCHSCREEN */ |
118 | 118 | ||
119 | #ifndef PLASMA_QUIT | 119 | #ifndef PLASMA_QUIT |
120 | #define PLASMA_QUIT BUTTON_OFF | 120 | #define PLASMA_QUIT BUTTON_OFF |
@@ -147,11 +147,11 @@ static int plasma_frequency; | |||
147 | #elif CONFIG_KEYPAD == GIGABEAT_S_PAD | 147 | #elif CONFIG_KEYPAD == GIGABEAT_S_PAD |
148 | #define PLASMA_REGEN_COLORS BUTTON_SELECT | 148 | #define PLASMA_REGEN_COLORS BUTTON_SELECT |
149 | #endif | 149 | #endif |
150 | #ifdef HAVE_TOUCHPAD | 150 | #ifdef HAVE_TOUCHSCREEN |
151 | #ifndef PLASMA_REGEN_COLORS | 151 | #ifndef PLASMA_REGEN_COLORS |
152 | #define PLASMA_REGEN_COLORS BUTTON_CENTER | 152 | #define PLASMA_REGEN_COLORS BUTTON_CENTER |
153 | #endif | 153 | #endif |
154 | #endif /* HAVE_TOUCHPAD */ | 154 | #endif /* HAVE_TOUCHSCREEN */ |
155 | #endif /* HAVE_LCD_COLOR */ | 155 | #endif /* HAVE_LCD_COLOR */ |
156 | 156 | ||
157 | #define WAV_AMP 90 | 157 | #define WAV_AMP 90 |