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.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index d5c1ef427f..2e04bd59b5 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -59,6 +59,7 @@ static int plasma_frequency;
59#define PLASMA_QUIT BUTTON_MENU 59#define PLASMA_QUIT BUTTON_MENU
60#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_FWD 60#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_FWD
61#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_BACK 61#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_BACK
62
62#elif (CONFIG_KEYPAD == GIGABEAT_PAD) 63#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
63#define PLASMA_QUIT BUTTON_A 64#define PLASMA_QUIT BUTTON_A
64#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 65#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
@@ -74,26 +75,38 @@ static int plasma_frequency;
74#define PLASMA_QUIT BUTTON_POWER 75#define PLASMA_QUIT BUTTON_POWER
75#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 76#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
76#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 77#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
78
77#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 79#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
78#define PLASMA_QUIT BUTTON_POWER 80#define PLASMA_QUIT BUTTON_POWER
79#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_UP 81#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_UP
80#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_DOWN 82#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_DOWN
83
81#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD) 84#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
82#define PLASMA_QUIT BUTTON_BACK 85#define PLASMA_QUIT BUTTON_BACK
83#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 86#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
84#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 87#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
88
85#elif (CONFIG_KEYPAD == MROBE100_PAD) 89#elif (CONFIG_KEYPAD == MROBE100_PAD)
86#define PLASMA_QUIT BUTTON_POWER 90#define PLASMA_QUIT BUTTON_POWER
87#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 91#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
88#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 92#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
93
94#elif (CONFIG_KEYPAD == IAUDIO_M3_PAD)
95#define PLASMA_QUIT BUTTON_RC_REC
96#define PLASMA_INCREASE_FREQUENCY BUTTON_RC_VOL_UP
97#define PLASMA_DECREASE_FREQUENCY BUTTON_RC_VOL_DOWN
98#define PLASMA_RC_QUIT BUTTON_REC
99
89#elif (CONFIG_KEYPAD == COWOND2_PAD) 100#elif (CONFIG_KEYPAD == COWOND2_PAD)
90#define PLASMA_QUIT BUTTON_POWER 101#define PLASMA_QUIT BUTTON_POWER
91#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 102#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
92#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 103#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
104
93#else 105#else
94#define PLASMA_QUIT BUTTON_OFF 106#define PLASMA_QUIT BUTTON_OFF
95#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 107#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
96#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 108#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
109
97#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) 110#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
98#define PLASMA_RC_QUIT BUTTON_RC_STOP 111#define PLASMA_RC_QUIT BUTTON_RC_STOP
99#endif 112#endif