summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/blackjack.c16
-rw-r--r--apps/plugins/fft/fft.c9
-rw-r--r--apps/plugins/fractals/fractal.h12
-rw-r--r--apps/plugins/invadrox.c7
-rw-r--r--apps/plugins/jewels.c10
-rw-r--r--apps/plugins/pong.c8
-rw-r--r--apps/plugins/rockblox.c12
-rw-r--r--apps/plugins/rockblox1d.c4
-rw-r--r--apps/plugins/stats.c7
9 files changed, 81 insertions, 4 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index 1cd28bed8c..f7cda90eb4 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -346,6 +346,22 @@ enum {
346#define BJACK_RIGHT BUTTON_RIGHT 346#define BJACK_RIGHT BUTTON_RIGHT
347#define BJACK_LEFT BUTTON_LEFT 347#define BJACK_LEFT BUTTON_LEFT
348 348
349#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
350#define BJACK_SELECT_NAME "PLAY"
351#define BJACK_STAY_NAME "VOL-"
352#define BJACK_QUIT_NAME "POWER"
353#define BJACK_DOUBLE_NAME "MENU"
354#define BJACK_SELECT BUTTON_PLAY
355#define BJACK_QUIT BUTTON_POWER
356#define BJACK_MAX BUTTON_VOL_UP
357#define BJACK_MIN BUTTON_VOL_DOWN
358#define BJACK_STAY BUTTON_VOL_DOWN
359#define BJACK_DOUBLEDOWN BUTTON_MENU
360#define BJACK_UP BUTTON_UP
361#define BJACK_DOWN BUTTON_DOWN
362#define BJACK_RIGHT BUTTON_RIGHT
363#define BJACK_LEFT BUTTON_LEFT
364
349#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 365#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
350#define BJACK_SELECT_NAME "MENU" 366#define BJACK_SELECT_NAME "MENU"
351#define BJACK_STAY_NAME "VOL-" 367#define BJACK_STAY_NAME "VOL-"
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index b895a4f864..9cca99adbe 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -181,6 +181,15 @@ GREY_INFO_STRUCT
181# define FFT_FREQ_SCALE BUTTON_DOWN 181# define FFT_FREQ_SCALE BUTTON_DOWN
182# define FFT_QUIT BUTTON_POWER 182# define FFT_QUIT BUTTON_POWER
183 183
184#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
185# define FFT_PREV_GRAPH BUTTON_PREV
186# define FFT_NEVT_GRAPH BUTTON_NEXT
187# define FFT_ORIENTATION BUTTON_PLAY
188# define FFT_WINDOW BUTTON_MENU
189# define FFT_AMP_SCALE BUTTON_UP
190# define FFT_FREQ_SCALE BUTTON_DOWN
191# define FFT_QUIT BUTTON_POWER
192
184#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 193#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
185# define FFT_PREV_GRAPH BUTTON_PREV 194# define FFT_PREV_GRAPH BUTTON_PREV
186# define FFT_NEXT_GRAPH BUTTON_NEXT 195# define FFT_NEXT_GRAPH BUTTON_NEXT
diff --git a/apps/plugins/fractals/fractal.h b/apps/plugins/fractals/fractal.h
index df58bef8c1..3ca50485f0 100644
--- a/apps/plugins/fractals/fractal.h
+++ b/apps/plugins/fractals/fractal.h
@@ -276,6 +276,18 @@
276#define FRACTAL_PRECISION_DEC BUTTON_VOL_DOWN 276#define FRACTAL_PRECISION_DEC BUTTON_VOL_DOWN
277#define FRACTAL_RESET BUTTON_MENU 277#define FRACTAL_RESET BUTTON_MENU
278 278
279#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
280#define FRACTAL_QUIT BUTTON_POWER
281#define FRACTAL_UP BUTTON_UP
282#define FRACTAL_DOWN BUTTON_DOWN
283#define FRACTAL_LEFT BUTTON_PREV
284#define FRACTAL_RIGHT BUTTON_NEXT
285#define FRACTAL_ZOOM_IN BUTTON_RIGHT
286#define FRACTAL_ZOOM_OUT BUTTON_LEFT
287#define FRACTAL_PRECISION_INC BUTTON_VOL_UP
288#define FRACTAL_PRECISION_DEC BUTTON_VOL_DOWN
289#define FRACTAL_RESET BUTTON_MENU
290
279#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 291#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
280#define FRACTAL_QUIT BUTTON_POWER 292#define FRACTAL_QUIT BUTTON_POWER
281#define FRACTAL_UP BUTTON_UP 293#define FRACTAL_UP BUTTON_UP
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index b84c3653d1..480cf9d5e2 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -179,6 +179,13 @@
179#define RIGHT BUTTON_RIGHT 179#define RIGHT BUTTON_RIGHT
180#define FIRE BUTTON_SELECT 180#define FIRE BUTTON_SELECT
181 181
182#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
183
184#define QUIT BUTTON_POWER
185#define LEFT BUTTON_LEFT
186#define RIGHT BUTTON_RIGHT
187#define FIRE BUTTON_PLAY
188
182#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 189#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
183 190
184#define QUIT BUTTON_POWER 191#define QUIT BUTTON_POWER
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c
index 218395027e..71267484b1 100644
--- a/apps/plugins/jewels.c
+++ b/apps/plugins/jewels.c
@@ -237,6 +237,16 @@ CONFIG_KEYPAD == SANSA_M200_PAD
237#define HK_SELECT "SELECT" 237#define HK_SELECT "SELECT"
238#define HK_CANCEL "POWER" 238#define HK_CANCEL "POWER"
239 239
240#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
241#define JEWELS_UP BUTTON_UP
242#define JEWELS_DOWN BUTTON_DOWN
243#define JEWELS_LEFT BUTTON_LEFT
244#define JEWELS_RIGHT BUTTON_RIGHT
245#define JEWELS_SELECT BUTTON_PLAY
246#define JEWELS_CANCEL BUTTON_POWER
247#define HK_SELECT "PLAY"
248#define HK_CANCEL "POWER"
249
240#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 250#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
241#define JEWELS_UP BUTTON_UP 251#define JEWELS_UP BUTTON_UP
242#define JEWELS_DOWN BUTTON_DOWN 252#define JEWELS_DOWN BUTTON_DOWN
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 93b6e7c278..9697b9821f 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -180,6 +180,14 @@
180#define PONG_RIGHT_UP BUTTON_VOL_UP 180#define PONG_RIGHT_UP BUTTON_VOL_UP
181#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN 181#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
182 182
183#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
184#define PONG_QUIT BUTTON_POWER
185#define PONG_PAUSE BUTTON_MENU
186#define PONG_LEFT_UP BUTTON_UP
187#define PONG_LEFT_DOWN BUTTON_DOWN
188#define PONG_RIGHT_UP BUTTON_VOL_UP
189#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
190
183#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 191#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
184#define PONG_QUIT BUTTON_POWER 192#define PONG_QUIT BUTTON_POWER
185#define PONG_PAUSE BUTTON_MENU 193#define PONG_PAUSE BUTTON_MENU
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 2bab546fa0..ae9c922342 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -287,6 +287,18 @@
287#define ROCKBLOX_DROP BUTTON_SELECT 287#define ROCKBLOX_DROP BUTTON_SELECT
288#define ROCKBLOX_RESTART BUTTON_MENU 288#define ROCKBLOX_RESTART BUTTON_MENU
289 289
290#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
291
292#define ROCKBLOX_OFF BUTTON_POWER
293#define ROCKBLOX_ROTATE_CCW BUTTON_PREV
294#define ROCKBLOX_ROTATE_CW BUTTON_NEXT
295#define ROCKBLOX_ROTATE BUTTON_UP
296#define ROCKBLOX_DOWN BUTTON_DOWN
297#define ROCKBLOX_LEFT BUTTON_LEFT
298#define ROCKBLOX_RIGHT BUTTON_RIGHT
299#define ROCKBLOX_DROP BUTTON_PLAY
300#define ROCKBLOX_RESTART BUTTON_MENU
301
290# elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 302# elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
291 303
292#define ROCKBLOX_OFF BUTTON_POWER 304#define ROCKBLOX_OFF BUTTON_POWER
diff --git a/apps/plugins/rockblox1d.c b/apps/plugins/rockblox1d.c
index a39da86ec1..af9c0ab16d 100644
--- a/apps/plugins/rockblox1d.c
+++ b/apps/plugins/rockblox1d.c
@@ -96,6 +96,10 @@
96#define ONEDROCKBLOX_DOWN BUTTON_SELECT 96#define ONEDROCKBLOX_DOWN BUTTON_SELECT
97#define ONEDROCKBLOX_QUIT BUTTON_POWER 97#define ONEDROCKBLOX_QUIT BUTTON_POWER
98 98
99#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
100#define ONEDROCKBLOX_DOWN BUTTON_PLAY
101#define ONEDROCKBLOX_QUIT BUTTON_POWER
102
99#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 103#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
100#define ONEDROCKBLOX_DOWN BUTTON_PLAY 104#define ONEDROCKBLOX_DOWN BUTTON_PLAY
101#define ONEDROCKBLOX_QUIT BUTTON_POWER 105#define ONEDROCKBLOX_QUIT BUTTON_POWER
diff --git a/apps/plugins/stats.c b/apps/plugins/stats.c
index 6a70a47ec4..fbc00d3902 100644
--- a/apps/plugins/stats.c
+++ b/apps/plugins/stats.c
@@ -91,10 +91,9 @@ static bool cancel;
91#elif CONFIG_KEYPAD == CREATIVEZVM_PAD 91#elif CONFIG_KEYPAD == CREATIVEZVM_PAD
92#define STATS_STOP BUTTON_BACK 92#define STATS_STOP BUTTON_BACK
93 93
94#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD 94#elif (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \
95#define STATS_STOP BUTTON_POWER 95(CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \
96 96(CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
97#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
98#define STATS_STOP BUTTON_POWER 97#define STATS_STOP BUTTON_POWER
99 98
100#elif CONFIG_KEYPAD == ONDAVX747_PAD 99#elif CONFIG_KEYPAD == ONDAVX747_PAD