summaryrefslogtreecommitdiff
path: root/apps/plugins/plasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r--apps/plugins/plasma.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index 3090e1a2d0..e8ae7645b4 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -100,7 +100,6 @@ static int plasma_frequency;
100#elif (CONFIG_KEYPAD == COWOND2_PAD) 100#elif (CONFIG_KEYPAD == COWOND2_PAD)
101#define PLASMA_QUIT BUTTON_POWER 101#define PLASMA_QUIT BUTTON_POWER
102 102
103// the new button definitions should be placed here
104#endif 103#endif
105 104
106#ifdef HAVE_TOUCHPAD 105#ifdef HAVE_TOUCHPAD
@@ -113,10 +112,8 @@ static int plasma_frequency;
113#ifndef PLASMA_DECREASE_FREQUENCY 112#ifndef PLASMA_DECREASE_FREQUENCY
114#define PLASMA_DECREASE_FREQUENCY BUTTON_MIDLEFT 113#define PLASMA_DECREASE_FREQUENCY BUTTON_MIDLEFT
115#endif 114#endif
115#endif /* HAVE_TOUCHPAD */
116 116
117#endif
118
119// if no button definitions specified and no touchpad use default
120#ifndef PLASMA_QUIT 117#ifndef PLASMA_QUIT
121#define PLASMA_QUIT BUTTON_OFF 118#define PLASMA_QUIT BUTTON_OFF
122#endif 119#endif
@@ -130,7 +127,6 @@ static int plasma_frequency;
130#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) 127#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
131#define PLASMA_RC_QUIT BUTTON_RC_STOP 128#define PLASMA_RC_QUIT BUTTON_RC_STOP
132#endif 129#endif
133#endif
134 130
135#ifdef HAVE_LCD_COLOR 131#ifdef HAVE_LCD_COLOR
136#if CONFIG_KEYPAD == IAUDIO_X5M5_PAD 132#if CONFIG_KEYPAD == IAUDIO_X5M5_PAD
@@ -153,7 +149,8 @@ static int plasma_frequency;
153#ifndef PLASMA_REGEN_COLORS 149#ifndef PLASMA_REGEN_COLORS
154#define PLASMA_REGEN_COLORS BUTTON_CENTER 150#define PLASMA_REGEN_COLORS BUTTON_CENTER
155#endif 151#endif
156#endif 152#endif /* HAVE_TOUCHPAD */
153#endif /* HAVE_LCD_COLOR */
157 154
158#define WAV_AMP 90 155#define WAV_AMP 90
159 156